How can I calculate multi outputs in a single input?
Afficher commentaires plus anciens
Example: I have to calculate Circumference and Area of Circle while the radius of a circle is same say 4.
Réponses (1)
madhan ravi
le 23 Oct 2018
Modifié(e) : madhan ravi
le 23 Oct 2018
0 votes
see https://in.mathworks.com/matlabcentral/answers/424875-unwanted-ans-in-my-output#answer_342206 for reference
- use a function with two outputs , that would solve your homework problem
1 commentaire
madhan ravi
le 23 Oct 2018
[area,cr] = circle(4)
Catégories
En savoir plus sur MATLAB 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!