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: Plotting graph
Replies: 1   Last Post: Feb 28, 2013 11:35 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Nasser Abbasi

Posts: 6,677
Registered: 2/7/05
Re: Plotting graph
Posted: Feb 28, 2013 11:35 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 2/28/2013 10:15 PM, wrote:
> I want to plot graph of x Vs y. So when i do below steps its showing me error as Too
>many input arguments. So please let me know if you have any idea about this.
> for i = 1:10:100
> y=i+2;
> t=y^2+4;
> x(i) = (2*t-1);
> k(i)=y+1;
> end
> plot (x(i),y(i))

What is the purpose of `k` ?

(too many things are broken, but lets first figure what
`k` is for)

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.