Simpl equestion about CUMSUM
Mostra commenti meno recenti
How can I rewrite the following code using cumsum?
for i=0:299
A(i+1)=sum(B > i);
end
Many thanks!
Risposta accettata
Più risposte (1)
Mohsen
il 14 Giu 2013
0 voti
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!