Creating a coordinate basis with equally spaced points?
3 ビュー (過去 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 で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!