Didn't know where to put this though its also a math problem..(adsbygoogle = window.adsbygoogle || []).push({});

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?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab problem

**Physics Forums | Science Articles, Homework Help, Discussion**