give me the root locus diagram according to the below code

% Root Locus of Hot-Wire Anemometer Closed-Loop System
clc; clear; close all;
% Parameters (example values, you can adjust them)
Ke = 1; % Electronics gain
Kw = 1; % Wire/thermal gain
tau_e = 0.05; % Electronics time constant
tau_w = 0.1; % Wire time constant
K = Ke * Kw; % Overall gain product
% Define transfer function in s-domain
s = tf('s');
Ge = 1/(tau_e*s + 1); % Electronics dynamics
Gw = 1/(tau_w*s + 1); % Wire dynamics
% Open-loop transfer function (without Kc)
L = K * Ge * Gw;
% Plot root locus with varying Kc
figure;
rlocus(L)
title('Root Locus of Hot-Wire Anemometer System')
xlabel('Real Axis')
ylabel('Imaginary Axis')
grid on

댓글 수: 1

Did the code you posted not give you the root-locus plot you expected when you ran it? If so, please explain or show a picture of what you expected and what you received, and if it's not obvious describe how the two explanations/pictures differ.

댓글을 달려면 로그인하십시오.

답변 (1개)

CHANDRA BABU GUTTIKONDA
CHANDRA BABU GUTTIKONDA 2025년 8월 30일

0 개 추천

댓글 수: 1

It would have been easier if you had posted the code, instead of an image of the code.

댓글을 달려면 로그인하십시오.

카테고리

태그

질문:

2025년 8월 28일

댓글:

2025년 8월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by