I have bean curve equation and plotted it using ezplot. I wold like to find out the area enclosed by the curve. Tried to do get gca and extracting x and y only gives me a straight line and not a bean curve. Tried plotting CountourMatrix but gives error. syms x y; f=ezplot((a*x)^4+(a*x)^2*(b*y)^2+(b*y)^4-a*x*((a*x)^2+(b*y)^2));axis equal; title('bean');
code : get(f); Q=get(f,'ContourMatrix'); gives error message: Error using hg.axes/get The name 'ContourMatrix' is not an accessible property for an instance of class 'axes'
Please help
Best Answer