How to write a logical statement?
Afficher commentaires plus anciens
Hi;
I need to write a logical statement but I couldn't succeed it. It is attached file because of exponential numbers... This is very important for me ...
Thanks in advance; Regards...
Réponses (1)
Image Analyst
le 18 Jan 2016
What does "end" mean there? Does it mean to quit the program? If so, just use return instead of end.
To exponentiate use ^
if LB^(k-1)== N
return;
end
Catégories
En savoir plus sur Construct and Work with Object Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!