You need to use element-wise operators. See this: https://www.mathworks.com/help/matlab/matlab_prog/array-vs-matrix-operations.html
P1 = 1.513;
H = 4292;
y = 0:0.1:1;
X = ((P1/H).*y) ./ (1+(1 - (P1/H).*y));
plot (X,y)
Info
此问题已关闭。 请重新打开它进行编辑或回答。
此问题已关闭。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!