I want to create a conditional function
Mostra commenti meno recenti
When i try to create the following function with n=[-25:25] the value of x1 shows as x1=-3
if 0<=n<=8
x1=-3
else
x1=0
What can i do to make the function work?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Construct and Work with Object Arrays in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
