I am finding it difficult to write extended langmuir isotherm using summation.

2 次查看(过去 30 天)
I am new to MATLAB so the equation looks like this.
Gsel = sum(Gsli(1:4))*((yi*P)/Pli)/(1+sum(yj*P/Plj(1:4))

回答(1 个)

Walter Roberson
Walter Roberson 2021-9-19
The meaning of that is not clear. The expression contains both p and using exactly the same symbol p . That tells us that the non-subscripted places refer to an entire 2D array and the refer to a specific entry in that array. could be understood as dividing the entire 2D matrix by a particular value, and it might not be unreasonable to sum a bunch of those, getting a 2D array. But such 2D arrays appear in both the numerator and denominator, and it is not at all clear what division of two 2D arrays is intended to mean in this context.
Also the information we are given is not enough to know that no entry is 0.

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by