필터 지우기
필터 지우기

how can i simulate feedback system with fuzzy controller in m file without simulink?

조회 수: 1 (최근 30일)
i have plant g=1/(s^2+s+1) and i have fuzzy inference struct (fuzi) i need to simulate this system in m file like this (if i use pid ) c=pid(1,2); t=feedback(c*g,1); step(t) instead of c i need to use fuzi without using simulink only in m file

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2018년 8월 16일
Hi,
I am afraid there is no easy way to do it. You would have to use evalfis to evaluate your fizzy logic controller at each computation step and then use something like ode45 to simulate plant step by step.
As you mention, Simulink would make this much easier.

카테고리

Help CenterFile Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by