Creating a coordinate basis with equally spaced points?
2 次查看(过去 30 天)
显示 更早的评论
Hi. I am trying to create a coordinate basis that has dimensions in x and y axis from 0 to 30.
I am looking for a piece of code that given a number N, will create an X-Y data column of length N of equally spaced points?
How can I do this?
2 个评论
John D'Errico
2017-7-28
What have you tried? Have you looked at meshgrid (or ndgrid)? Would that get you a good part of the way there?
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!