OBSERVING SIGNAL GENERATOR OUTPUT AT HIGH FREQUENCY IN SIMULINK

6 views (last 30 days)
Hi, In simulink,when i use signal generator at low frequency(egs:1 rad/sec) and observe the sine wave in a scope,my output is correct.But when the frequency is increased(egs:10 rasd/sec),the output is not correct.why is it so?Can somebody help me.

Accepted Answer

Orion
Orion on 18 Nov 2014
Hi,
My guess is that you forget to change your simulation parameters.
In the toolbar :
Simulation -> Model Configuration Parameters.
change the solver to fixed-step, and put a small sample time to force Simulink to simulate at a desired rate.

More Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!