submit a constant to matrices
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi guys I am wondering how can I define first element of number of matrices as a constant
I tried T{1:10}(1)=7; but I got the following message
??? Scalar cell array indices required in this assignment.
I appreciate your help
0 Kommentare
Antworten (1)
Azzi Abdelmalek
am 2 Okt. 2013
Bearbeitet: Azzi Abdelmalek
am 2 Okt. 2013
for k=1:numel(T)
T{k}(1)=7
end
2 Kommentare
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!