Clear Filters
Clear Filters

rewrite in a different way

3 views (last 30 days)
How can i write the following but in a different way:
for i=0:10000
if t1>5

Accepted Answer

Walter Roberson
Walter Roberson on 29 Apr 2021
i = 0:10000;
t1 = 10*(1/10000);
ro1 = t1 <= 5;

More Answers (0)


Find more on Function Creation 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!