How may I use reshape for this code?
Ältere Kommentare anzeigen
count=0;
for j = 1:frame_number
for i=1:15
if (A(i,j)*A(i+1,j))<0
count=count+1;
end
b(j)=count;
end
count=0;
end
3 Kommentare
Dyuman Joshi
am 31 Jul. 2022
What are you trying to reshape?
Onur Batin Genc
am 31 Jul. 2022
Onur Batin Genc
am 31 Jul. 2022
Akzeptierte Antwort
Weitere Antworten (0)
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!