How to convert the equation to MATLab code
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I need your help to convert the equation to MATLAB code? (Including N_t part of the equation)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1116330/image.png)
2 commentaires
Walter Roberson
le 4 Sep 2022
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?
Réponses (1)
Walter Roberson
le 6 Sep 2022
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.
0 commentaires
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!