phantomprime
- 7
- 0
Didn't know where to put this though its also a math problem..
I have to plot the vector in 3d using matlab
v1=[8;2;-6]
v2=[12;3;-9]
v1 =
8
2
-6
v2 =
12
3
-9
v2= (1.5) * v1
Now I used...quiver3(v1,v2)
It gives me the line though I don't know if that line is the span of the two vectors or is the quiver function just plotting one line. My question is..is there a way to plot v1, v2 and have it calculate and show the third line in 3d in matlab?
I have to plot the vector in 3d using matlab
v1=[8;2;-6]
v2=[12;3;-9]
v1 =
8
2
-6
v2 =
12
3
-9
v2= (1.5) * v1
Now I used...quiver3(v1,v2)
It gives me the line though I don't know if that line is the span of the two vectors or is the quiver function just plotting one line. My question is..is there a way to plot v1, v2 and have it calculate and show the third line in 3d in matlab?