How to correctly get a sine/cosine-signal in Simulink?
16 次查看(过去 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!
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!