How to write a matlab code for this equation?
2 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Luca Ferro
2023-1-6
编辑:Luca Ferro
2023-1-6
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 个评论
Luca Ferro
2023-1-9
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
2023-1-9
编辑:Walter Roberson
2023-1-9
https://en.m.wikipedia.org/wiki/K-function ? Or is it https://www.mathworks.com/help/matlab/ref/besselk.html ?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!