matrix plotting
1 次查看(过去 30 天)
显示 更早的评论
If I have a matrix x=[1 2 3 4] and a vector y=[1 4 9 16] and make the matrix z=[x; y] what is the equivalent matrix plot of z to scatter(x,y).
0 个评论
采纳的回答
Sean de Wolski
2011-5-17
scatter(z(1,:),z(2,:))
or
scatter(z(1:2:end),z(2:2:end))
%Sorry misread your inputs
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!