Sawtooth Waveform With Variable Frequency and constant amplitude
이전 댓글 표시
How can I create a sawtooth wave with external inputs such as constant amplitude (2*Pi) and variable frequency in simulink?
답변 (1개)
ABHILASH SINGH
2019년 10월 21일
0 개 추천
T = 10*(1/50);
fs = 1000;
t = 0:1/fs:T-1/fs;
a=2*pi;
x = a*sawtooth(2*pi*50*t,1/2);
plot(t,x)
댓글 수: 1
Ranjit Kumar Chennamchetty
2019년 10월 21일
편집: Ranjit Kumar Chennamchetty
2019년 10월 23일
카테고리
도움말 센터 및 File Exchange에서 Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!