[Simulink] Question about upsample block

1 view (last 30 days)
yao chung chang
yao chung chang on 28 Apr 2017
Edited: yao chung chang on 28 Apr 2017
I have one question about the simulink upsample block.
Based on the example from simulink, ex_upsample_ref1, I did the following procedure 1. Signal from workspace with sample time = 1, samples per frame = 1 2. upsample factor L = 4 3. Input processing: frame based 4. Rate options: allow multirate processing 5. Add Signal to workspace for observing the output from the upsample block
I knew the sampling rate of output will become 0.25 times to the input
My question is if simulation time is start from 0, when I run the simulation with simulation stop time = 0
Why I got [0] ? where does the "0" comes from ? Can you help to explain and interpret the result ?
Compared to upsample with the setting (a) frame based and (b)enforcing single rate processing, I can totally understand the result is [0.0065 0 0 0]. Since the sampling rate is both the same for the input and output
Thanks

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!