From: riya on 23 Jul 2010 01:53 Hi I am running subs(TL5{2:d-1},TL3{:},TL4{:}); which gives error as ??? Error using ==> sym.subs Too many input arguments. tell me the reason and solution please >thank you
From: Walter Roberson on 23 Jul 2010 02:05 riya wrote: > Hi I am running subs(TL5{2:d-1},TL3{:},TL4{:}); > which gives error as ??? Error using ==> sym.subs > Too many input arguments. > tell me the reason and solution please >> thank you Read the command description!! http://www.mathworks.com/access/helpdesk/help/toolbox/symbolic/subs.html
From: riya on 23 Jul 2010 02:18 Walter Roberson <roberson(a)hushmail.com> wrote in message <Tia2o.27146$xZ2.7394(a)newsfe07.iad>... > riya wrote: > > Hi I am running subs(TL5{2:d-1},TL3{:},TL4{:}); > > >oh >i have corrected the syntax to subs(TL5{2},{TL3{:}},{TL4{:}}); which gives following error >??? Error using ==> sym.sym>char2sym Not a valid symbolic expression. Error in ==> sym.sym at 92 S = char2sym(x); Error in ==> sym.subs at 219 NEWf = idrep(char(NEWf),char(sym(OLDexpr{j})),char(sym(NEWexpr{j}))); Error in ==> subs at 60 r = subs(sym(f),varargin{:}); help me
From: Walter Roberson on 23 Jul 2010 02:37 riya wrote: > Walter Roberson <roberson(a)hushmail.com> wrote in message > <Tia2o.27146$xZ2.7394(a)newsfe07.iad>... >> riya wrote: >> > Hi I am running subs(TL5{2:d-1},TL3{:},TL4{:}); >> > >> oh i have corrected the syntax to > subs(TL5{2},{TL3{:}},{TL4{:}}); which gives following error >> ??? Error using ==> sym.sym>char2sym > Not a valid symbolic expression. > > Error in ==> sym.sym at 92 > S = char2sym(x); > > Error in ==> sym.subs at 219 > NEWf = > idrep(char(NEWf),char(sym(OLDexpr{j})),char(sym(NEWexpr{j}))); > > Error in ==> subs at 60 > r = subs(sym(f),varargin{:}); > help me {TL3{:}} is more briefly written as simply TL3 We would need to see TL5{2} and TL3 and TL4 in order to give you advice as to why your symbolic expressions are invalid.
From: riya on 23 Jul 2010 03:27 my TL5 is TL5{:} ans = 'A,B,y,D,E,F,G,H,I,J,K,L,N,M,O,P,Q,R,S1,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,i,j,k,l,m,n' ans = '1/rc+s*cgs2+(s*C3)/(1+s*R3*C3)+s*cgb2' ans = '-1/rc' ans = '-gm2' ans = 's*cgd3+s*cgs4+s*cgd4+(s*Cx+gx+s*Cy+s*s*Rx*Cy*Cx+s*Rx*Cy*gx)/(1+s*Cx*Rx+gx*Rx)+s*cgs5[index]+s*cgd5+s*cgb4+s*cgb5' etc TL3{:} ans = gm2 ans = cgs2 ans = cgb2 etc;;; and TL4{:} ans= 5.678 ans=4.92 etc so i want to substitute the values gm2 ,cgs2 etc from TL4 into TL5{2:end} help.....
|
Pages: 1 Prev: mmreader large videos Next: Setting object handle inside a loop |