Pathhacker

1 119 0
MATLAB code for drawing circle with centre (x,y)

let circle with centre  (1,3) then the matlab code to draw a circle is

syms r;
r=linspace(0,2*pi,160);
x=1+2*cos(r);
y=3+2*sin(r);
plot(x,y,'r')
axis equal

Tags

Matlab code for Sinusoidal sequence %------------sinusoidal sequence----------------- clc clear all n=1:100 x1=cos(pi*n); subplot(3,2,1); stem(n,x1); xlabel('n');…
Profile photo of kavya by kavya
0 105 0
Your nameYour emailYour text

Leave a Reply

Log in
Register
Send message