Creating a coordinate basis with equally spaced points?
4 views (last 30 days)
Show older comments
matlabkid602
on 28 Jul 2017
Commented: matlabkid602
on 28 Jul 2017
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 Comments
John D'Errico
on 28 Jul 2017
What have you tried? Have you looked at meshgrid (or ndgrid)? Would that get you a good part of the way there?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!