Borrar filtros
Borrar filtros

matlab coding for the below

1 visualización (últimos 30 días)
Chiliveri Vinod
Chiliveri Vinod el 17 de Sept. de 2018
Editada: Chiliveri Vinod el 19 de Sept. de 2018
r(t) =1 e−γ2t ,t ≤ Ta
4e−γ1(tTb)(sin(2πωat) + 1), otherwise
t=500
Ta=250,Tb=500/2.2,γ1=0.07,γ2=0.004,ωa = 0.06,

Respuesta aceptada

KSSV
KSSV el 17 de Sept. de 2018
Ta=250 ;
Tb=500/2.2 ;
t=1:500 ;
g1=0.07 ;
g2=0.004 ;
Wa = 0.06 ;
r = zeros(length(t),1) ;
r(t<=Ta) = 1-exp(1)-g2*t(t<=Ta) ;
r(t>Ta) = 4*exp(1)-g1*(t(t>Ta)-Tb).*(sin(2*pi*Wa*t(t>Ta))+1) ;
plot(t,r)
  1 comentario
Chiliveri Vinod
Chiliveri Vinod el 19 de Sept. de 2018
Editada: Chiliveri Vinod el 19 de Sept. de 2018
thanks for ur rply..

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by