フィルターのクリア

The real implementaion of the C2D function "Control Systems Toolbox"

3 ビュー (過去 30 日間)
Youssef Telha
Youssef Telha 2024 年 5 月 30 日
編集済み: Steven Lord 2024 年 5 月 30 日
Hello everyone,
I am trying to understand the differences between the discretization methods and therefore do my own implementation. However, when I get inside the function suing cntr+d, I get some unrelavent implementation that does not take into account the discretization method. Can anyone of help reach the real implementation of the c2d function?
Kind regards,
The function is: c2d() continous to discrete conversion
The non-complete implementation:
[SL: removed the implementation of c2d.m from Control System Toolbox from the post]

回答 (1 件)

Paul
Paul 2024 年 5 月 30 日
Hi Youssef,
There are two files named c2d.m
which -all c2d
/MATLAB/toolbox/control/ctrlobsolete/c2d.m /MATLAB/toolbox/shared/controllib/engine/@DynamicSystem/c2d.m % DynamicSystem method
I believe the code listed in the question is of the former. The latter can be opened in an editor, at least in R2022a, and one can set a breakpoint and step through the code using the debugger.

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by