Hi... I have four vectors that I need together in one plot and also they should start at (2,2)(adsbygoogle = window.adsbygoogle || []).push({});

Vector A is a=[5 0]

B is b=[0 2]

I obtained unit vector and I need something similar to http://www.scribd.com/doc/13353344/Fundamentals-of-Electromagnetics [Broken] at page nine

I know the following commands

pi=[2,2];

plot( [pi(1),pi(1)+v(1)] , [pi(2),pi(2)+v(2)])

It works but not with four vectors. What should I do?

I'm not pretending you to do my homework so that I'm asking for the plot

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

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

# Plot vectors 2D! With Matlab!

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