want a rows to split into multiple rows
Mostra commenti meno recenti
A=[111111111111111111]
i want to generate A=[111111
111111
111111]
it is (3,6) matrix...I know it can be done easily through semicolon but that i dnt want because that A matrix is the output basically.
i also used reshape command but for that dimension shoud be same. i have taken just for example (3,6).actually the matrix is of (1,90) .i wangt to make it (3,30)
kindly help
Risposta accettata
Più risposte (1)
I don't see why reshape() wouldn't work
A = ones(1,90);
A = reshape(A,3,30)
1 Commento
VASUNDHARA V
il 25 Feb 2022
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!