Draw Output of a MATLAB Code on a Graph

$29.00$19.001376 reads

Question

Draw the output of the following MATLAB code on the graph on the right:

r = 4;

ts = 0:45:360;

xs = r * cosd(ts);

ys = r * sind(ts);

plot( xs, ys, '+-k');

axis equal;

 

                                  

Summary

This question belongs to MATLAB software and discusses about to draw given MATLAB output on a graph.

Answer is in MATLAB format

 

Add to Cart