I want to plot this semi circle
Show older comments
Code:
%% Plotting The Semi Circle %%
%% Equation %%
%% After solving we came to know that r=wn %%
w_n=2.57;
r=w_n;
%% a is the angle which is 22 degrees %%
a=22;
x=(r*cos(a));
y=(r*sin(a));
%% Final Plot %%
j=plot(x,y,'b')
%% Axis Limit Setting
axis([-3 1 -3 3])
%% Setting Line width
set(j,'LineWidth',3)
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!