The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: matlab error - exceeds matrix dimensions
Replies: 2   Last Post: Dec 9, 2012 8:52 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 12/8/12
matlab error - exceeds matrix dimensions
Posted: Dec 8, 2012 7:13 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi matlab community,
I'm having trouble with a fplot function (a fairly simple one)

I'm trying to plot:

fplot('40/(1+(x-4).^2)+5*sin(20*x/pi)',[0 10])

However I keep getting the error:

??? Index exceeds matrix dimensions.

Error in ==> new_doc at 20
fplot('40/(1+(x-4).^2)+5*sin(20*x/pi)',[0 10])

I'm not really sure where I'm going wrong...

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.