This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Jeong Suong Yang
on 9 Nov 2020
I'm not sure what is a real difference between linspace and : operator.
Rik
on 2 Mar 2021
The linspace function is for when you know how many elements you want, the colon operator is for when you know the step size.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!