vino_scorpio85
Newbie level 2
i had try this using matlab. i use pulse generator to generate the wave. but there is some warning. Can someone help me to find the answer.
[/img][/code]
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
t=-6:0.01:6;
signal = zeros(size(t));
for n = 1:length(t)
if (abs(t(n)) <= 1 | (abs(t(n)) >= 3 & abs(t(n)) <= 5))
signal(n) = 2;
end
end
plot(t,signal)