Implement Matlab function that draws a polygon defined by it

Implement Matlab function that draws a polygon defined by its vertices and rotates it with respect to the center of the coordinate system as shown below. A number of rotation should be determined by the user. Test your code using a suitable example.

Solution

patch(X,Y,C)

patch(X,Y,Z,C)

patch(\'XData\',X,\'YData\',Y)

patch(\'XData\',X,\'YData\',Y,\'ZData\',Z)

patch(\'Faces\',F,\'Vertices\',V)

patch(S)

patch(___,Name,Value)

patch(ax,___)

 Implement Matlab function that draws a polygon defined by its vertices and rotates it with respect to the center of the coordinate system as shown below. A num

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site