From: Abhishek on 19 Jul 2010 06:56 C{1,1} ans = 'Vout=x;' 'Vin=z;' 'eq1=A*p+B*u;' 'eq2=y*p+D*q+E*r+F*s;' 'eq3=G*q+H*r+I*t;' 'eq4=J*q+K*s+L*x;' 'eq5=M*r+N*o+O*t+2*x*P;' 'eq6=2*x*Q+R*o+S1*s+P*t+U*T+V*z;' 'eq7=W*o+N*t+X*T+R*2*x+Y*v;' 'eq8=d*w+e*v+f*u;' 'eq9=g*u+h*p+i*w+j*v;' 'eq10=k*v+l*o+m*w+n*u;' 'eq11=Z*T+2*x*a+b*z+c*o;' >> C C = {13x1 cell} this is my output on running fid=fopen('c:\users\abhishek\desktop\abhi.m'); C = textscan(fid,'%s'); fclose(fid); Now how to dissect further into the cell array bcz finally i have to solve these equations..
From: us on 19 Jul 2010 07:12 "Abhishek " <abhi14jan(a)yahoo.com> wrote in message <i21b0k$61e$1(a)fred.mathworks.com>... > C{1,1} > > ans = > > 'Vout=x;' > 'Vin=z;' > 'eq1=A*p+B*u;' > 'eq2=y*p+D*q+E*r+F*s;' > 'eq3=G*q+H*r+I*t;' > 'eq4=J*q+K*s+L*x;' > 'eq5=M*r+N*o+O*t+2*x*P;' > 'eq6=2*x*Q+R*o+S1*s+P*t+U*T+V*z;' > 'eq7=W*o+N*t+X*T+R*2*x+Y*v;' > 'eq8=d*w+e*v+f*u;' > 'eq9=g*u+h*p+i*w+j*v;' > 'eq10=k*v+l*o+m*w+n*u;' > 'eq11=Z*T+2*x*a+b*z+c*o;' > > >> C > > C = > > {13x1 cell} > > this is my output on running > fid=fopen('c:\users\abhishek\desktop\abhi.m'); > C = textscan(fid,'%s'); > fclose(fid); > Now how to dissect further into the cell array bcz finally i have to solve these equations.. one of the solutions - create a CELLSTRING, eg, cs=c{:}; % then go from here... us
From: Abhishek on 19 Jul 2010 07:21 "us " <us(a)neurol.unizh.ch> wrote in message <i21bu5$4g7$1(a)fred.mathworks.com>... > "Abhishek " <abhi14jan(a)yahoo.com> wrote in message <i21b0k$61e$1(a)fred.mathworks.com>... > > C{1,1} > > > > ans = > > > > 'Vout=x;' > > 'Vin=z;' > > 'eq1=A*p+B*u;' > > 'eq2=y*p+D*q+E*r+F*s;' > > 'eq3=G*q+H*r+I*t;' > > 'eq4=J*q+K*s+L*x;' > > 'eq5=M*r+N*o+O*t+2*x*P;' > > 'eq6=2*x*Q+R*o+S1*s+P*t+U*T+V*z;' > > 'eq7=W*o+N*t+X*T+R*2*x+Y*v;' > > 'eq8=d*w+e*v+f*u;' > > 'eq9=g*u+h*p+i*w+j*v;' > > 'eq10=k*v+l*o+m*w+n*u;' > > 'eq11=Z*T+2*x*a+b*z+c*o;' > > > > >> C > > > > C = > > > > {13x1 cell} > > > > this is my output on running > > fid=fopen('c:\users\abhishek\desktop\abhi.m'); > > C = textscan(fid,'%s'); > > fclose(fid); > > Now how to dissect further into the cell array bcz finally i have to solve these equations.. > > one of the solutions > - create a CELLSTRING, eg, > > cs=c{:}; > % then go from here... >Hi us i have send my problem statement on your email adress... sorry but i need help give me the solution please i dont know much about matlab > abhishek
From: us on 19 Jul 2010 07:30 "Abhishek " <abhi14jan(a)yahoo.com> wrote in message <i21cf4$7mj$1(a)fred.mathworks.com>... > "us " <us(a)neurol.unizh.ch> wrote in message <i21bu5$4g7$1(a)fred.mathworks.com>... > > "Abhishek " <abhi14jan(a)yahoo.com> wrote in message <i21b0k$61e$1(a)fred.mathworks.com>... > > > C{1,1} > > > > > > ans = > > > > > > 'Vout=x;' > > > 'Vin=z;' > > > 'eq1=A*p+B*u;' > > > 'eq2=y*p+D*q+E*r+F*s;' > > > 'eq3=G*q+H*r+I*t;' > > > 'eq4=J*q+K*s+L*x;' > > > 'eq5=M*r+N*o+O*t+2*x*P;' > > > 'eq6=2*x*Q+R*o+S1*s+P*t+U*T+V*z;' > > > 'eq7=W*o+N*t+X*T+R*2*x+Y*v;' > > > 'eq8=d*w+e*v+f*u;' > > > 'eq9=g*u+h*p+i*w+j*v;' > > > 'eq10=k*v+l*o+m*w+n*u;' > > > 'eq11=Z*T+2*x*a+b*z+c*o;' > > > > > > >> C > > > > > > C = > > > > > > {13x1 cell} > > > > > > this is my output on running > > > fid=fopen('c:\users\abhishek\desktop\abhi.m'); > > > C = textscan(fid,'%s'); > > > fclose(fid); > > > Now how to dissect further into the cell array bcz finally i have to solve these equations.. > > > > one of the solutions > > - create a CELLSTRING, eg, > > > > cs=c{:}; > > % then go from here... > >Hi us i have send my problem statement on your email adress... > sorry but i need help > give me the solution please > i dont know much about matlab > > abhishek 1) do NOT email... 2) did you look at what you were shown(?)... 3) be more precise re ...how to dissect further into the cell array... 4) note: did you actually RUN your M-file(?)... rather than just READING it(?)... us
From: Abhishek on 19 Jul 2010 07:39 "us " <us(a)neurol.unizh.ch> wrote in message <i21d0j$bkv$1(a)fred.mathworks.com>... > "Abhishek " <abhi14jan(a)yahoo.com> wrote in message <i21cf4$7mj$1(a)fred.mathworks.com>... > > "us " <us(a)neurol.unizh.ch> wrote in message <i21bu5$4g7$1(a)fred.mathworks.com>... > > > "Abhishek " <abhi14jan(a)yahoo.com> wrote in message <i21b0k$61e$1(a)fred.mathworks.com>... > > > > C{1,1} > > > > > > > > ans = > > > > > > > > 'Vout=x;' > > > > 'Vin=z;' > > > > 'eq1=A*p+B*u;' > > > > 'eq2=y*p+D*q+E*r+F*s;' > > > > 'eq3=G*q+H*r+I*t;' > > > > 'eq4=J*q+K*s+L*x;' > > > > 'eq5=M*r+N*o+O*t+2*x*P;' > > > > 'eq6=2*x*Q+R*o+S1*s+P*t+U*T+V*z;' > > > > 'eq7=W*o+N*t+X*T+R*2*x+Y*v;' > > > > 'eq8=d*w+e*v+f*u;' > > > > 'eq9=g*u+h*p+i*w+j*v;' > > > > 'eq10=k*v+l*o+m*w+n*u;' > > > > 'eq11=Z*T+2*x*a+b*z+c*o;' > > > > > > > > >> C > > > > > > > > C = > > > > > > > > {13x1 cell} > > > > > > > > this is my output on running > > > > fid=fopen('c:\users\abhishek\desktop\abhi.m'); > > > > C = textscan(fid,'%s'); > > > > fclose(fid); > > > > Now how to dissect further into the cell array bcz finally i have to solve these equations.. > > > > > > one of the solutions > > > - create a CELLSTRING, eg, > > > > > > cs=c{:}; > > > % then go from here... > > >Hi us i have send my problem statement on your email adress... > > sorry but i need help > > give me the solution please > > i dont know much about matlab > > > abhishek > > 1) do NOT email... > 2) did you look at what you were shown(?)... > 3) be more precise re ...how to dissect further into the cell array... > 4) note: did you actually RUN your M-file(?)... rather than just READING it(?)... > > us >yes i did cs=c{:} > now it shows the value of C{1,1} in cs >give me a good fuction with code to go further reading the cs
|
Pages: 1 Prev: Read data with non-uniform structure Next: how to manipulate pixel from an image? |