how to store data in a matrix
Ältere Kommentare anzeigen
Hi guys,
I have problem with storing data or points in a 'for loop' . when i am using 'for loop' at end i can display each point one by one but i cant collect them in a matrix, how can i store all points in a matrix? what is your idea? i appreciate any help!
Thanks.
1 Kommentar
Azzi Abdelmalek
am 17 Sep. 2012
post your code
Akzeptierte Antwort
Weitere Antworten (1)
mordant eagle
am 16 Apr. 2017
0 Stimmen
Hi, what if I want to insert the rows like 1,2,3,...,50 and columns like 1,2,..,10. What shall I do ? for ii = 1:50 for jj = 1:10 out(ii,jj)=???; end
end
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!