Prev: Fibonacci
Next: a minor iteration problem
From: Mitch Le on 11 Apr 2010 00:48 Im creating program to create the steepest ascent but can't get pass the following errors, ??? Error using ==> sym.sym>notimplemented at 2514 Function 'gt' is not implemented for MuPAD symbolic objects. Error in ==> sym.sym>sym.gt at 792 notimplemented('gt'); Error in ==> steepestA at 39 end Does anyone know what the error mean? How can I fix my program to get rid of this error? Thank you!
From: Steven Lord on 12 Apr 2010 23:31 "Mitch Le" <nhat.mitchle(a)gmail.com> wrote in message news:db6f1fa6-a893-4cc5-9401-85caef935e8c(a)i25g2000yqm.googlegroups.com... > Im creating program to create the steepest ascent but can't get pass > the following errors, > > ??? Error using ==> sym.sym>notimplemented at 2514 > Function 'gt' is not implemented for MuPAD symbolic objects. > > Error in ==> sym.sym>sym.gt at 792 > notimplemented('gt'); > > Error in ==> steepestA at 39 > end > > Does anyone know what the error mean? How can I fix my program to get > rid of this error? As the error message says, the greater-than operator is not defined for symbolic expressions. [After all, how can you answer the question x > y if x and y are arbitrary symbolic expressions?] If you want to determine if your expression is greater than some other value, convert the expressions to some type for which the greater-than operator is defined (liked DOUBLE.) -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: Fibonacci Next: a minor iteration problem |