필터 지우기
필터 지우기

Sampling in a time vector

조회 수: 1 (최근 30일)
Brian Aguilar
Brian Aguilar 2016년 9월 9일
답변: the cyclist 2016년 9월 9일
I want to generate a time vector tt corresponding to a range of values of t that will cover approxi- mately two cycles of a 440 Hz sinusoid. Also, I need to make sure that I have at least 25 samples per period of the sinusoidal wave.
I understand how to find the period but Im a little confused on getting exactly 25 samples per period. So far I have tt = -1/440: :1/440. I don't know what to put as the increments to get exactly 25 samples

답변 (1개)

the cyclist
the cyclist 2016년 9월 9일
I would use the linspace command to do this.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by