what is the problem with my function ?

1 visualizzazione (ultimi 30 giorni)
function [area , cr ]= circle(r) area = pi* (r^2) ; cr = pi * r * 2 ;

Risposta accettata

Bish Erbas
Bish Erbas il 27 Set 2018
Modificato: Bish Erbas il 27 Set 2018
Formatting.
function [area, cr] = circle(r)
area = pi*(r^2);
cr = pi*r*2;
end

Più risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by