How can I produce more simulation points?

1 次查看(过去 30 天)
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

回答(1 个)

Ryan G
Ryan G 2012-10-8
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.

类别

Help CenterFile Exchange 中查找有关 Troubleshooting 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by