Prev: ANFIS
Next: Curve fitting
From: Steven Lord on

"Mario Fatafehi" <coruba9(a)hotmail.com> wrote in message
news:hop5tt$b0o$1(a)fred.mathworks.com...
> syms a b c;
> a=11/19;
> b=3/17;
> c=1/7;
> G=a + b +c;
> pretty(G)
>
> Error says ??? Undefined command/function 'pretty'. Any help?
>

PRETTY is a method for sym objects, and you are calling it withOUT any sym
objects as input. Therefore, the method cannot be called, and there is no
PRETTY function or pretty method for double arrays that can be called, so
you receive that error.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


First  |  Prev  | 
Pages: 1 2
Prev: ANFIS
Next: Curve fitting