I have a Simulink model that works in variable-time steps. I am comparing the output of it to a model with discreet time steps. I want to look at an fft of both models and compare. To do so, I want to change the variable data into discreet.
Is there a way I can do this interpolation?
One idea I had was to set a sample time in the 'ToWorkspace' block. This adds quite a bit of time to the simulation (which I don't understand since I only want to save a very small chunk at the end of the sim).
Best Answer