Classdef human; %bmi of human; properties; h.name; h.weight; h.height; h.age; function bmi=human(p); bmi=p.weight/(p.height*p.height); p.age =p.height*p.height*25; p.weight-p.age; print -dpng figure.png;
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more