From: Mario Fatafehi on 29 Mar 2010 03:12 ezplot('x^3+3*x^2+10*x'/'x^4+4',[-4,4]) ??? Error using ==> mrdivide Matrix dimensions must agree. any help?
From: us on 29 Mar 2010 03:20 "Mario Fatafehi" <coruba9(a)hotmail.com> wrote in message <hopjs2$70j$1(a)fred.mathworks.com>... > ezplot('x^3+3*x^2+10*x'/'x^4+4',[-4,4]) > ??? Error using ==> mrdivide > Matrix dimensions must agree. > > any help? one of the solutions - your use of '/' does not make sense... ezplot('x^3+3*x^2+10*x/x^4+4',[-4,4]); us
From: John O'Flaherty on 29 Mar 2010 03:31 On Mon, 29 Mar 2010 07:12:02 +0000 (UTC), "Mario Fatafehi" <coruba9(a)hotmail.com> wrote: >ezplot('x^3+3*x^2+10*x'/'x^4+4',[-4,4]) >??? Error using ==> mrdivide >Matrix dimensions must agree. > >any help? Try ezplot('x^3+3*x^2+10*x/(x^4+4)',[-4,4]) -- John
From: John O'Flaherty on 29 Mar 2010 03:33 On Mon, 29 Mar 2010 02:31:11 -0500, John O'Flaherty <quiasmox(a)yeeha.com> wrote: >On Mon, 29 Mar 2010 07:12:02 +0000 (UTC), "Mario Fatafehi" ><coruba9(a)hotmail.com> wrote: > >>ezplot('x^3+3*x^2+10*x'/'x^4+4',[-4,4]) >>??? Error using ==> mrdivide >>Matrix dimensions must agree. >> >>any help? > >Try >ezplot('x^3+3*x^2+10*x/(x^4+4)',[-4,4]) or ezplot('(x^3+3*x^2+10*x)/(x^4+4)',[-4,4]) if that's what you meant. -- John
|
Pages: 1 Prev: optimization algorithm on lagrange multiplier method Next: design of smart meter |