필터 지우기
필터 지우기

resolve in matlab please

조회 수: 2 (최근 30일)
Abdelrazzak rifai
Abdelrazzak rifai 2018년 4월 12일
답변: Walter Roberson 2018년 4월 12일
i am new in matlab and i don't have any idea about it. the professor gave us this. really i don't understand. :(
arryf A , s=cosAt+cos3t
define a sum of cosine waves"number of waves is the last number in your credit book. with different frequency en Hz.
2. build it's plot in time domain.
3. build the plot of it's magnitude spectrum
  댓글 수: 2
Walter Roberson
Walter Roberson 2018년 4월 12일
I do not know what "arryf A" is intended to mean?
Abdelrazzak rifai
Abdelrazzak rifai 2018년 4월 12일
편집: Walter Roberson 2018년 4월 12일
please if you can give me an example a function using array.
define a sum of cosine waves"number of waves is the last number in your credit book. with different frequency en Hz.
build it's plot in time domain.
build the plot of it's magnitude spectrum
please if you can give me an example about this task. if you have any idea, exampls,etc,,

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

답변 (1개)

Walter Roberson
Walter Roberson 2018년 4월 12일
number_of_samples = 1025;
wave = 0;
for wavenum = 1 : 8 %presuming your last number is 8
wave = wave + generate_sinewave(wavenum * 83, number_of_samples); %83 Hz apart
end
You would need to write generate_sinewave()

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by