c2d continuous time to discrete time with changing sampling time
4 次查看(过去 30 天)
显示 更早的评论
c2d(sys,Ts) is working with one sampling time -Ts with ZOH. My question is about changing sampling time. If I want to use different sampling time for discretization, can I use c2d in a smart way?
In other way, I would like to ask this sampling time Ts is not constant. For example can i use a vector like Ts = [10, 20, 5, 12, 5, 10, ...] ?
0 个评论
回答(1 个)
Azzi Abdelmalek
2013-7-17
编辑:Azzi Abdelmalek
2013-7-17
For each sample time, you will get a new system
sysd1=c2d(sys,Ts1)
sysd2=c2d(sys,Ts2)
...
and so on
2 个评论
Azzi Abdelmalek
2013-7-17
You can't get one model with multiple sample time, for each sample time, you have a different model
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!