I have {1*1} cell which contains a column matrix with 4455 rows how can i access data in each row?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have {1*1} cell which contains a column matrix with 4455 rows how can i access data in each row?
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 21 Mai 2013
Bearbeitet: Azzi Abdelmalek
am 21 Mai 2013
A{1}{k}
Example
A={{10 20 30 40}}
A{1}{3} % The result is 30
2 Kommentare
Jan
am 21 Mai 2013
The OP has a matrix insie the cell. Then he needs round parenthesis as second indexing:
A = {rand(4455, 1)};
v = A{1}(256)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!