Why does my plot not appear?

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.

回答 (1 件)

Rafael Hernandez-Walls
Rafael Hernandez-Walls 2020 年 10 月 23 日

0 投票

Vmax = 354*10^(-6);
Km = 1.5*10^(-3);
S = .0000005:.0000005:.000030;
v = Vmax*S./(Km + S);
plot(S,v);

3 件のコメント

Aric Rozario
Aric Rozario 2020 年 10 月 23 日
Where did I go wrong and how come my plot is linear and not a curved graph?
Aric Rozario
Aric Rozario 2020 年 10 月 23 日
Vmax = 354*10^(-6);
Km = 1.5*10^(-3);
S = .0000005:.0000005:.000030;
v = Vmax*S./(Km + S);
plot(S,v,1./S,1./v);
grid on;
title('Rate of Enzyme Rxn ([S] vs. v)')
xlabel('[S] (mM)')
ylabel('v (umol/sec)')
legend({'[S] vs. v','1/[S] vs. 1/v'},'Location','southwest')
ax = gca;
ax.FontSize = 13;
Also, how come now only one of my plots appear?
Walter Roberson
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

タグ

質問済み:

2020 年 10 月 23 日

コメント済み:

2020 年 10 月 23 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by