Why does my plot not appear?
조회 수: 2 (최근 30일)
이전 댓글 표시
Vmax = 354*10^(-6);
Km = 1.5*10^(-3);
S = .0000005:.0000005:.000030;
v = Vmax*S/(Km + S);
plot(S,v);
This is my code and it shows no errors but it does not appear on the figure tab. I am a beginner and I do not know how to correct this.
댓글 수: 0
답변 (1개)
Rafael Hernandez-Walls
2020년 10월 23일
Vmax = 354*10^(-6);
Km = 1.5*10^(-3);
S = .0000005:.0000005:.000030;
v = Vmax*S./(Km + S);
plot(S,v);
댓글 수: 3
Walter Roberson
2020년 10월 23일
You used the / operator instead of the ./ operator. A/B is approximately the same as A*pinv(B) -- an algebraic matrix operator, not an element-by-element operator.
The S values you are adding to Km are vary small, so Km+S is the same as Km alone, to within the resolution that you are plotting at.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!