t=linespace(0,10,100,1000)
f=2;
y=cos(2*pi*f*t);
plot=(x,y);
title=continuous time;
xlabel(Time(t));
ylabel(Amplitude)
grid,on;

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: