how to show frequency domain?
Show older comments
hi, i'm begginer in matlab and i have question how to show the frequency domain for this code:
t = linspace(-2*pi,2*pi,200);
sinyal = sin(t); %Sinyal Asli
sigma = 0.07; %Standar Deviasi Noise
sinyaln = sinyal + sigma*randn(size(signal)); %Sinyal + Noise
subplot(211)
plot(t,sinyal); axis([-8 8 -2 2]);
title('Sinyal Asli')
subplot(212)
plot(t,sinyaln); axis([-8 8 -2 2]);
title('Sinyal + Noise')
Answers (1)
Walter Roberson
on 16 Sep 2016
1 vote
2 Comments
raizal muttaqin
on 16 Sep 2016
Walter Roberson
on 16 Sep 2016
You follow the example there, but substituting your own data.
Categories
Find more on Audio and Video Data 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!