restricting the number between limits
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
clc
clear all
a = 10
b = rand(1)
nmc = 100
for i = 1:nmc
c = a - b
if c < a
a = c
else
a = a
end
end
I want to stop the code when value is between 1 and 0 kindly guide
0 Commenti
Risposte (1)
Vedere anche
Categorie
Scopri di più su Entering Commands 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!