linspace

1 view (last 30 days)
Beth
Beth on 27 Oct 2011
I need to create a 4x5 matrix by using linspace. The matrix needs iteger values from 101-120 filling rows first. How do I do that in just one line of code?

Answers (1)

Wayne King
Wayne King on 27 Oct 2011
Hint:
see the help for reshape() and then think about what the transpose operator,', does

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!