필터 지우기
필터 지우기

How to convert the equation to MATLab code

조회 수: 3 (최근 30일)
muhammad imad
muhammad imad 2022년 9월 4일
답변: Walter Roberson 2022년 9월 6일
I need your help to convert the equation to MATLAB code? (Including N_t part of the equation)
  댓글 수: 2
Walter Roberson
Walter Roberson 2022년 9월 4일
in the q subscript u,f expression, does the superscript t mean "raised to the power"? Same with F superscript t?
Is q subscript u,f a function or a discrete array element?
muhammad imad
muhammad imad 2022년 9월 6일
Thank you @Walter Roberson for your reply. Yes in the q subscript u,f expression, the superscript t mean "raised to the power". Where, q subscript u,f ∈ {0, 1}.

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

답변 (1개)

Walter Roberson
Walter Roberson 2022년 9월 6일
If F < 1 then since t>=1, F^t would be less than 1 and the second summation would have no work to do.
If F > 1 then because T goes to infinity, there will obviously be some point at which F^t reaches 2^48, implying q subscript u, 2^48. But MATLAB does not support arrays with 2^48 or more elements (Intel x64 architecture only implements 48 address lines in all publically known versions.)
Therefore this problem cannot be solved in MATLAB. It cannot be solved in any computer architecture with finite resources.
This is why it was important to ask whether the q were array locations or were functions.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by