Transfer Function with Routh and stepinfo and array

3 ビュー (過去 30 日間)
PatrickMM
PatrickMM 2020 年 4 月 12 日
コメント済み: darova 2020 年 4 月 13 日
Hello everyone
I need help
I'm trying to do transfer fuction with array and also routh as a same time
second: do transfer fuction with array and stepinfo as a same time
So any ideal?
i already did transfer fuction with arrayfun() but if i put a stepinfo it doesnt work
And with the Routh , because in my function has constant K, so i think its impossible to use arrayfun
Thanks
My code was comment below
  4 件のコメント
PatrickMM
PatrickMM 2020 年 4 月 13 日
K1 = [25,25,25,25,25];
K2 = [8, 7, 9, 5, 6.5];
T1 = [1, 2, 0.5, 4, 5];
T2 = [0.1, 0.2, 0.4, 0.8, 0.5];
T3 = [0.4, 0.8, 0.05, 0.6, 0.2];
syms K ;
a = arrayfun(@(T1,T2,T3) (T1*T2+T1*T3+T2*T3)/(T1*T2*T3),T1,T2,T3);
b = arrayfun(@(T1,T2,T3) (T1+T2+T3)/(T1*T2*T3) ,T1,T2,T3);
c = arrayfun(@(T1,T2,T3,K1) K1/(T1*T2*T3) ,K1,T1,T2,T3);
d = arrayfun(@(T1,T2,T3) 1/(T1*T2*T3) ,T1,T2,T3);
arrayfun(@(a,b,c,d) myRouth([1 a b K*c+d]), a,b,c,d)
darova
darova 2020 年 4 月 13 日
whoa. Didn't expect something like that. Maybe someone else has any ideas
please help

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStability Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by