How to correctly get a sine/cosine-signal in Simulink?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have already set a angle-signal in simulink, then i want to get the sine- and cosine-signal of this angle. I have tried two ways to get this signal (SinCos-Block and Matlab Function). But they were both strange and wrong. I'll put the pictures of angle-signals and results below. The first is original angle-signal and the second is Cosine-signal. How to correctly get the sine/cosine-signal in Simulink? Thx for ur help!![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/298703/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/298703/image.png)
댓글 수: 2
Jonas
2020년 5월 26일
Are you sure it is wrong? Your angle changes fairly fast, which is why the cosine also changes fast. The input for the Cosine block is in radians.
답변 (1개)
madhan ravi
2020년 5월 23일
https://youtu.be/iOmqgewj5XI , cos(...) is the sin(...) with phase shift.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!