Plot a single vector as a line
显示 更早的评论
How would you plot a 3 dimensional vector as a single line? I need to plot the null space of a matrix and having trouble finding the correct way to create the graph. Matrix is : [1,3,11;4,2,14;-2,-2,-10] , and the Null space is the vector [-2;-3;1]. It should just be a line because I am also plotting the column space of the matrix which is a plane. Any help would be greatly appreciated.
3 个评论
infinity
2019-6-26
Hello,
What do you mean "the Null space is the vector [-2;-3;1]. It should just be a line ...." ?
To get a line, at least we need to know 2 points.
Anthony Mason
2019-6-26
infinity
2019-6-26
Hello,
Here you can see an example in 2D, the column space and null space are draw.
I think in your case (3D), you can plot as a answer below.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!