How to use linspace and what is it's purpose?
Show older comments
Hi all,
What is the purpose of linspace?
eg linspace(2,7,100) what will happen when i type in this code?
Thanks
3 Comments
John D'Errico
on 4 Jun 2016
Edited: John D'Errico
on 4 Jun 2016
Why not try it? Rather than asking what will happen, TRY IT. See what happens. Your computer won't explode.
Why not read the help? This is a BASIC question. So you should be reading the help of tools that you want to learn about.
dpb
on 4 Jun 2016
Give it a go and see(*)...or, there's always
doc linspace % when in doubt
(*) altho linspace(2,7,10) may make enlightenment simpler to comprehend.
programmingnewbie
on 5 Jun 2016
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating 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!