Pid Controller, Control Theory, Embedded Systems.
it simply as follows: And after running this simulation, to plot the graph, I wrote a simple m-file as follows: clear; close all; clc StepTime = 10.05; K = 44.3222; Tau = 0.8689; Kp = 0.2; Ki = 0; % Simulation Operation sim('PID.slx'); %Plot plot(ans.Sim_R(:,1), ans.Sim_R(:,2), 'b'); hold on;