필터 지우기
필터 지우기

How to calculate math expressions in matlab

조회 수: 2 (최근 30일)
hang dong
hang dong 2019년 6월 5일
댓글: hang dong 2019년 6월 5일
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
darova
darova 2019년 6월 5일
I suggest you to use factorial() and readm about function handle
hang dong
hang dong 2019년 6월 5일
Can you give me specific instructions?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by