how to store values from loop in an array?
Ältere Kommentare anzeigen
v=[1 2 3;4 5 6;7 8 9]
l2=zeros(3,1)
for i=1:3
l2=norm(v((i),:),2)
end
i want to store store l2 values in an array.
1 Kommentar
kitty varghese
am 8 Aug. 2017
Bearbeitet: kitty varghese
am 8 Aug. 2017
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Deep Learning Toolbox 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!