Simulink: Sine wave generation. Configuration problem.
显示 更早的评论
Hi, While using Simulink, I simply connect a 'sine wave generator' (picked from Simulink>>Sources) to the scope and set the frequency at 100*pi rad/s.
However, on running the simulation, I get a randomly increasing waveform and not a sinusoidal signal of above freq. However, if I set a frequcny such as 1 rad/s, a perfect sine wave is obtained.
I think I must choose a 'continuous' scale to run it and right now maybe a 'discrete scale' is chosen with large step size. May someone suggest a possible remedy?
Thanks.
1 个评论
yassine amine
2018-3-24
exempel: tried with time=10s , Amplitude=200 , Frequency=100*pi , sample time=0.00001 it gives you a better result
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!