Azzera filtri
Azzera filtri

rewrite in a different way

1 visualizzazione (ultimi 30 giorni)
fawzeya bin tamim
fawzeya bin tamim il 29 Apr 2021
Risposto: Walter Roberson il 29 Apr 2021
How can i write the following but in a different way:
for i=0:10000
t1=10*(i/10000);
if t1>5
ro1=0;
end

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by