From: Abhishek on
Hi
I am reading the file which contains
'z,x,o,p,q,r,s,t,u,v,w,T'
'A*p+B*u'
'y*p+D*q+E*r+F*s'
'G*q+H*r+I*t'
'J*q+K*s+L*x'
'M*r+N*o+O*t+2*x*P'
'x*Q+R*o+S1*s+P*t+U*T+V*z'
'W*o+N*t+X*T+R*2*x+Y*v'
'd*w+e*v+f*u'
'g*u+h*p+i*w+j*v'
'k*v+l*o+m*w+n*u'
'Z*T+2*x*a+b*z+c*o'
using the code
syms A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z S1 TL1
fid=fopen('/sim/TLV1117LV_DS/x0138322/scripts/userinput.m');
i=-1;
while(1)
tline1 =fgetl(fid);
if isempty(tline1), break, end
TL1 = [TL1 sym(tline1)];
i=i+1;
end
fclose(fid);
which give me TL1 as<1*24sym> containing
TL1 =

[ TL1, 'z, x, o, p, q, r, s, t, u, v, w, T', 'A*p+B*u', 'y*p+D*q+E*r+F*s', 'G*q+H*r+I*t', 'J*q+K*s+L*x', 'M*r+N*o+O*t+2*x*P', 'x*Q+R*o+S1*s+P*t+U*T+V*z', 'W*o+N*t+X*T+R*2*x+Y*v', 'd*w+e*v+f*u', 'g*u+h*p+i*w+j*v', 'k*v+l*o+m*w+n*u', 'Z*T+2*x*a+b*z+c*o']
but I dont want ( ' ) before z and afterT because they create error in rest of the code
Please tell me a solution to this;;;;;;
 | 
Pages: 1
Prev: averaged PSD estimation
Next: remove