Effacer les filtres
Effacer les filtres

How to write a matlab code for this equation?

1 vue (au cours des 30 derniers jours)
Amreen Haider
Amreen Haider le 5 Jan 2023

Réponses (1)

Luca Ferro
Luca Ferro le 6 Jan 2023
Modifié(e) : Luca Ferro le 6 Jan 2023
Fi= @(I) ((2*(alpha*beta)^((alpha+beta)/2))/T(alpha)*T(beta))*(I^(alpha+beta))*K*2*sqrt(alpha*beta*I);
if you want to show alpha and beta as symbols in the workspace you can go for something like (see here):
alpha=evalin(symengine,'`α`');
Since you didn't specify anything i interpreted T as a function. You will need to define it as well.
  4 commentaires
Luca Ferro
Luca Ferro le 9 Jan 2023
yeah you are definetly right about K, it is indeed a function for sure, i just didn't notice. This should be correct now:
Fi= @(I) ((2*(alpha*beta)^((alpha+beta)/2))/T(alpha)*T(beta))*(I^(alpha+beta))*K(2*sqrt(alpha*beta*I));
Walter Roberson
Walter Roberson le 9 Jan 2023
Modifié(e) : Walter Roberson le 9 Jan 2023
https://en.m.wikipedia.org/wiki/K-function ? Or is it https://www.mathworks.com/help/matlab/ref/besselk.html ?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Numeric Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by