Community Profile

photo

Mackenzy Allen


3 total contributions since 2018

Mackenzy Allen's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


This is my code for a PI controller that has an output concentration set to 0.25 that is controlled by Q. How would I change my dydt(3) so that it is a P-only controller?
function CH460_HW_7_P clear; clc; t0=0; tf=750; I0=[0.3 300 7E5]; soln = ode45(@f,[t0 tf],I0); t=lins...

3 years ago | 0 answers | 0

0

answers

Question


The code runs but the graph does not conceptually make sense (why is temperature only reaching a max of 40 C when the set point is 150 C). Not sure if I'm coding this correctly.
<</matlabcentral/answers/uploaded_files/103595/Screenshot%20(116).png>> function HW1Q4 clear; clc; t0 = 0; tf =...

3 years ago | 1 answer | 0

1

answer

Question


I have a homework assignment that I'm not sure how to do, the professor did not teach us anything about the matlab ode45 function. I have the line of code that I have so far but I'm not sure whats wrong.
<</matlabcentral/answers/uploaded_files/103592/Screenshot%20(115).png>> function HW1Q3 clear; clc; t0 = 0; tf =...

3 years ago | 1 answer | 0

1

answer