Calculated 100% rise time value different than matlab value

I calculated a rise time of 1.96s while matlab says it’s 0.974s. I used the equation: Tr=(pi x angle)/wd the calculated angle value is 1.23 rad and the calculated wd is 1.97rad. I tried using the values from matlab to calculate the rise time but nothing comes close unless I use an equation I’ve never seen in class before. I’ve attached it. Any idea why this is would be greatly appreciated. Thanks

 Respuesta aceptada

Since and , then
% Parameters
theta = 1.23; % rad
wd = 1.97; % rad
% Rise time
tr_CK = (pi * theta)/wd % rise time by CK
tr_CK = 1.9615
tr_ML = (pi - theta)/wd % rise time by MATLAB
tr_ML = 0.9704

1 comentario

Thanks for showing me that I’m supposed to subtract instead of multiply the pi and theta

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Productos

Versión

R2023b

Etiquetas

Preguntada:

el 25 de Oct. de 2023

Comentada:

el 26 de Oct. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by