what is the problem with my function ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
abdelrahman mohamed
am 27 Sep. 2018
Kommentiert: abdelrahman mohamed
am 27 Sep. 2018
function [area , cr ]= circle(r) area = pi* (r^2) ; cr = pi * r * 2 ;
0 Kommentare
Akzeptierte Antwort
Bish Erbas
am 27 Sep. 2018
Bearbeitet: Bish Erbas
am 27 Sep. 2018
Formatting.
function [area, cr] = circle(r)
area = pi*(r^2);
cr = pi*r*2;
end
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!