How to define a range to iterate with gaps in between?
11 views (last 30 days)
Show older comments
mathango on 3 May 2016
Answered: Azzi Abdelmalek on 3 May 2016
Is it possible to do iteration with gaps in simple and fast format in matlab.
goal => iterate M from 1 to 30 except at the gaps between 10 : 15, and 20 :25 .
The purpose of this is to avoid calling a function to iterate three times.
More Answers (1)
Find more on Get Started with MATLAB 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!