ignoring the negative values....
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Offroad Jeep
am 7 Okt. 2015
Kommentiert: Offroad Jeep
am 7 Okt. 2015
Hi to all ...........
a = rand(1,10)-0.5 cumsum(a)
the command uses all the positive and negative values generated , I want to ignore all the negative values generated once the cumsum command is executed. NOTE(negative values cannot be ignored and is being use in some other command)
Regards.....
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!