linear algebra - Error with strcmp matlab -


in follow-up a question of mine yesterday, tried following:

for b0, bq+1 , b did:

 bq1 = [];  (i=1:length(mte(1,:,3)))  t = sym(['bq' int2str(i)]);  bq1 = [bq1; t];  end 

i ran:

>> solve(h_tot_te*b == mte(:,:,q)*bq1 + lvec + mprime*b1) error using char conversion char logical not possible.  error in solve>geteqns (line 245)   vc = char(v);  error in solve (line 141) [eqns,vars,options] = geteqns(varargin{:}); 

so tried:

>> solve(double(h_tot_te*b == mte(:,:,q)*bq1 + lvec + mprime*b1)) error using strcmp number of rows of string matrix must match number of elements in cell.  error in solve>geteqns (line 246)   if any(strcmp(vc, {'ignoreanalyticconstraints', 'ignorespecialcases', ...  error in solve (line 141) [eqns,vars,options] = geteqns(varargin{:}); 

what error mean, , how can fix it?


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -