linspace

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

0 votes

Hint:
see the help for reshape() and then think about what the transpose operator,', does

Tags

Asked:

on 27 Oct 2011

Community Treasure Hunt

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

Start Hunting!