plot an example of a dumping factor for an amplifier in matlab
main.m
% Specify the damping factorzeta = 0.7;
% Define the natural frequency (in rad/s) of the systemwn = 10;
% Time vectort = 0:0.01:5;
% Compute the response of the system to a step inputresponse = 1 - exp(-zeta*wn*t).*sin(sqrt(1-zeta^2)*wn*t);
% Plot the responseplot(t, response);
xlabel('Time (s)');
ylabel('Amplifier Response');
title('Step Response of System with Damping Factor 0.7');
grid on;