How may I use reshape for this code?
Afficher commentaires plus anciens
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 commentaires
Dyuman Joshi
le 31 Juil 2022
What are you trying to reshape?
Onur Batin Genc
le 31 Juil 2022
Onur Batin Genc
le 31 Juil 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!