How can I produce more simulation points?

1 vue (au cours des 30 derniers jours)
Andreas
Andreas le 8 Oct 2012
I simulate a sawtooth 1000000 hz wich compares to a 1000hz sine.simulation step is 1e-8(100mhz). ode15s variable step solver. the fft of this comparison (a pwm signal) has many points at high frequencies but very few (less than 10) at low frequencies (around 1000hz where we have the area of interest) same happens with ode14x fixed step solver (cause I use simscape blocks)
what could be done for that? shoul i use refining or something different in the configuration parameters??? any ideas

Réponses (1)

Ryan G
Ryan G le 8 Oct 2012
In the output options of configuration parameters -> Import/Export section you can specify the type of output you want via the Product Additional Output option.

Catégories

En savoir plus sur Variable Initialization dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by