How to plot two vectors of different lengths in MATLAB?
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I have a vector Y where its length is smaller than the length of a vector X.
I want to take just the first elements from vector X which is correponding the elements of vector Y to plot them (X and Y) together. In other words, I want to delete the elements on vector X which makes the length of X exceeds the length of Y.
Thanks in advance dears!
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!