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')

답변 (1개)

Walter Roberson
Walter Roberson 2016년 9월 16일

1 개 추천

댓글 수: 2

raizal muttaqin
raizal muttaqin 2016년 9월 16일
please give me more detail about what should i do to my code. thanks...
Walter Roberson
Walter Roberson 2016년 9월 16일
You follow the example there, but substituting your own data.

댓글을 달려면 로그인하십시오.

카테고리

질문:

2016년 9월 16일

댓글:

2016년 9월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by