linspace

1 visualizzazione (ultimi 30 giorni)
Beth
Beth il 27 Ott 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?

Risposte (1)

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by