Insufficient number of outputsfrom right hand side of equalsign to satisfy assignment.x1 = [0 1 2];y1 = [0 1 0];x2 = [2 3 4];y2 = [1 2 1];polyin = polyshape({x1,x2},{y1,y2});[x,y] = centroid(polyin);plot(polyin)hold onplot(x,y,'r*')hold off
MATLAB: No puedo encontrar el centroide del triangulo ayuda¡¡¡ ( polyshape/centroid/triangle)
centroidpolyshapetriangulo
Best Answer