Control Theory, Embedded Systems.
response, while the red line represents the linearized model. clear; clc Duty_ratio=[72 73 74 75]; R_RPM=[110 170 210 260]; plot(Duty_ratio,R_RPM,'-o'); title('The relation between Motor speed and PWM Duty'); xlabel('Duty Ratio [%]'); ylabel('Motor Speed [RPM]'); hold on; grid on; TEST_X=[72 74];