Search All of the Math Forum:

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

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

 Messages: [ Previous | Next ]
 dpb Posts: 9,850 Registered: 6/7/07
Re: Plotting a line with variables from a matrix
Posted: Feb 17, 2013 2:14 PM

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.

--

Date Subject Author
2/17/13 Guest
2/17/13 dpb
2/17/13 Guest
2/17/13 dpb
2/17/13 Bruno Luong
2/17/13 Guest
2/17/13 dpb
2/17/13 Vilius
2/18/13 dpb
2/18/13 dpb