From: Mario Fatafehi on
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
"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
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
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