function dFt=Tendon_SEE(ltdot,Ft) Ft=Ft Kte=302.2; Ktl=311.40; Ftc=200; Kt=150;%635.5; Kc=0; %Kt_Ft=zeros(size(Ft)); %for i=1:length(Ft) if ((Ft>=0) && (Ft<=Ftc)) Kt_Ft=(Kte*Ft)+Ktl elseif (Ft>Ftc) Kt_Ft=Kt else Kt_Ft=Kc end %end dFt=Kt_Ft*ltdot;
end

댓글 수: 2

function dFt=Tendon_SEE(ltdot,Ft)
Ft=Ft
Kte=302.2;
Ktl=311.40;
Ftc=200;
Kt=150;%635.5;
Kc=0;
%Kt_Ft=zeros(size(Ft));
%for i=1:length(Ft)
if ((Ft>=0) && (Ft<=Ftc))
Kt_Ft=(Kte*Ft)+Ktl
elseif (Ft>Ftc)
Kt_Ft=Kt
else
Kt_Ft=Kc
end
%end
dFt=Kt_Ft*ltdot;
end end
Bilal sadiq
Bilal sadiq 2018년 6월 30일
question is ...........it always executes the last else command Kt_Ft=Kc

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2018년 6월 30일

댓글:

2018년 6월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by