How to assign different sample times for a sinusoidal signal in simulink?

I have a sinusoidal signal of frequency 50Hz (Period = 0.02s). I want the initial sample time to be 0.00025 seconds and the remaining of the signal should be sampled at 0.000167 seconds. Please help

 Accepted Answer

You can use a zoh block combined with a switch block

2 Comments

Sir, I don't understand how to do it using the two blocks mentioned above, can you please help me?
Don't accepted the answer if it don't help you. I've tried to do it with my idea, finally I could'not do it. If I find something, I will post it

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!