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 a line with variables from a matrix
Replies: 9   Last Post: Feb 18, 2013 1:50 PM

Advanced Search

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

Posts: 9,850
Registered: 6/7/07
Re: Plotting a line with variables from a matrix
Posted: Feb 17, 2013 2:14 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 2/17/2013 11:14 AM, Vilius wrote:
> Hi,
> I will try to show you what i want to do
> V= 0:1:10
> A=[10*V 20*V ; 30*V 40*V]
> a=inv(A)
> I would get matrix: a= [a11 a12;a21 a22]
> plot(V;a11)
> plot (V; a12)
> i need these curves


Which curves? a11 and a12 are points so your plots would be constant
lines (actually points unless you add the option to specify the line
type) at the values a11 and a12, respectively.

I don't see what you want the example to generalize to, sorry...try again.


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.