c2d continuous time to discrete time with changing sampling time

조회 수: 3 (최근 30일)
juliperde
juliperde 2013년 7월 17일
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, ...] ?

답변 (1개)

Azzi Abdelmalek
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
juliperde
juliperde 2013년 7월 17일
thank you for your answer. But I would like to ask this sampling time Ts1 is not constant. For example can i use a vector like Ts_v = [10, 20, 5, 12, 5, 10, ...] ?
Azzi Abdelmalek
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 CenterFile Exchange에서 Simulink Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by