How to calculate math expressions in matlab

1 回表示 (過去 30 日間)
hang dong
hang dong 2019 年 6 月 5 日
コメント済み: hang dong 2019 年 6 月 5 日
How can we calculate
when know n=8, P = [ 1 2 3 4 0 7 6 5], ci is the number of elements of the set { j > i, pj < pi }
please help me!
  2 件のコメント
Jan
Jan 2019 年 6 月 5 日
Neither j, nor pj, nor pi occur in this formula. The right hand side does not depend on P. The value of c_i is not explained.
Please post, what you have tried so far and ask a specific question. Define all inputs of the formula, and nothing else, to reduce the level of confusion.
hang dong
hang dong 2019 年 6 月 5 日
i is the index of elements of P,
P_ j is the value of P at position j
c_i is the number of elements of P satisfying the condition
{ j > i, p_j < p_i }

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by