How can I produce more simulation points?

1 visualizzazione (ultimi 30 giorni)
Andreas
Andreas il 8 Ott 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

Risposte (1)

Ryan G
Ryan G il 8 Ott 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.

Categorie

Scopri di più su Variable Initialization 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