How to draw a zigzag line in MATLAB?
33 次查看(过去 30 天)
显示 更早的评论
I want x and y points from a zigzag line in a x,y mesh/grid. How do I draw it on matlab?
0 个评论
回答(1 个)
KALYAN ACHARJYA
2019-11-19
编辑:KALYAN ACHARJYA
2019-11-19
x=randi(100,[1,10]);
y=randi(100,[1,10]);
line(x,y)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!