Filter löschen
Filter löschen

How to calculate math expressions in matlab

2 Ansichten (letzte 30 Tage)
hang dong
hang dong am 5 Jun. 2019
Kommentiert: hang dong am 5 Jun. 2019
How can we calculate
a1.PNG
when know n=8, P = [ 1 2 3 4 0 7 6 5], c_i is the number of elements of the set { j > i, pj < pi }
0 =< i < 7, 1< j < 8
i 0 1 2 3 4 5 6 7
P 1 2 3 4 0 7 6 5
exam: p_1 = 2, p_j = p_4 = 0 (j=4)
please help me!
  2 Kommentare
darova
darova am 5 Jun. 2019
I suggest you to use factorial() and readm about function handle
hang dong
hang dong am 5 Jun. 2019
Can you give me specific instructions?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by