Using embedded function in Simulink
조회 수: 6 (최근 30일)
이전 댓글 표시
I have used Embedded matlab function in Simulink ,three have written code for a sinewave,when i use scope i do not get sine wave i just get many straight lines ,please help
채택된 답변
Azzi Abdelmalek
2012년 12월 2일
Pat, that's what I was expecting, the size of y is [1 303], that means your output will be a vector of 303 elements which will be displayed in your scope. Why are 'nt you using a sine wave block ? what do you to get exactly?
댓글 수: 7
Azzi Abdelmalek
2012년 12월 2일
편집: Azzi Abdelmalek
2012년 12월 2일
Set the stop time to 1.99, the frequency of each sine wave blck to 56 Hz. The amplitudes to 1, 2 and 3

In configuration parameter set the fixed step size to 0.001
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!