MATLAB question and do not change subject. if you dont know skip
I need a working MATLAB code which will tell me the type of damping which is present in the system. there are 3 types of damping . use if else and give the result. take mass stiffness damping coefficient as input.
Dont post wrong answer of i will badly dislike
`Hey,
Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.
clc
clear all
close all
format long
m=input('Enter m: ');
b=input('Enter b: ');
k=input('Enter k: ');
if(b^2<4*m*k)
disp('System is underdamped');
elseif(b^2==4*m*k)
disp('System is critical damped');
else
disp('System is overdamped');
end
Kindly revert for any queries
Thanks.
Get Answers For Free
Most questions answered within 1 hours.