what is the problem with my function ?
    6 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    abdelrahman mohamed
 el 27 de Sept. de 2018
  
    
    
    
    
    Comentada: abdelrahman mohamed
 el 27 de Sept. de 2018
            function [area , cr ]= circle(r) area = pi* (r^2) ; cr = pi * r * 2 ;
0 comentarios
Respuesta aceptada
  Bish Erbas
      
 el 27 de Sept. de 2018
        
      Editada: Bish Erbas
      
 el 27 de Sept. de 2018
  
      Formatting.
function [area, cr] = circle(r)
area = pi*(r^2);
cr = pi*r*2;
end
Más respuestas (0)
Ver también
Categorías
				Más información sobre Numerical Integration and Differential Equations en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

