How can I produce more simulation points?

1 view (last 30 days)
Andreas
Andreas on 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

Answers (1)

Ryan G
Ryan G on 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.

Categories

Find more on Variable Initialization 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!