'continue until' in matlab
Show older comments
if N=1:12 and m=1:12, How can I write if mod(N,m)==0, continue until mod(N,m) doesn't equal 0? I also want the answer for each N to be the number of times it continued until it didn't equal 0
3 Comments
Ilham Hardy
on 13 Jan 2016
The result would always 0, wouldn't it?
A123456
on 13 Jan 2016
Answers (0)
Categories
Find more on Performance and Memory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!