How to draw vectors (physical 2D/3D vectors) in MATLAB?

后端 未结 6 470
一个人的身影
一个人的身影 2020-12-25 14:00

I want to know the simplest way to plot vectors in MATLAB. For example:

a = [2 3 5];
b = [1 1 0];
c = a + b;

I want to visualize this vect

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-25 14:28

    I found this arrow(start, end) function on MATLAB Central which is perfect for this purpose of drawing vectors with true magnitude and direction.

提交回复
热议问题