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에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by