OBSERVING SIGNAL GENERATOR OUTPUT AT HIGH FREQUENCY IN SIMULINK

6 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Orion
Orion il 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.

Più risposte (0)

Categorie

Scopri di più su Prepare Model Inputs and Outputs in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by