linspace

1 Ansicht (letzte 30 Tage)
Beth
Beth am 27 Okt. 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?

Antworten (1)

Wayne King
Wayne King am 27 Okt. 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!

Translated by