Akzeptierte Antwort

Mischa Kim
Mischa Kim am 1 Feb. 2014
Bearbeitet: Mischa Kim am 1 Feb. 2014

0 Stimmen

Use the reshape command.
b = reshape(a,2,2)

3 Kommentare

Anusha
Anusha am 1 Feb. 2014
This is ok.. how it will generate multiple numbers.. and the numbers are arranged into rectangular grid
Mischa Kim
Mischa Kim am 1 Feb. 2014
Is this another question or are you confirming that the command does what you need it to do?
Anusha
Anusha am 1 Feb. 2014
if i have a array with 50 numbers how it will be converted into rectangular matrix

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Gefragt:

am 1 Feb. 2014

Kommentiert:

am 1 Feb. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by