Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
How i make the code for transpose matrix data iteratively
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
i don't know how i make the code for transpose matrix data iteratively
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/861505/image.png)
I have 60 matrix data, but i want to this 3x167 form
how i make the code?
#I don't know the type of data to be entered after transpose.
Can you explain the principle of separating 'NF' and (i)?
for i=1:60
eval(['NF',num2str(i)]) = transpose(???)
end
2 Commenti
Rik
il 13 Gen 2022
Why did you decide to use numbered variables? This only makes processing harder and is (almost) never needed.
If you had been using a cell array, a trivial loop would do it, no weird eval calls required.
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!