필터 지우기
필터 지우기

How to write a matlab code for this equation?

조회 수: 4 (최근 30일)
Amreen Haider
Amreen Haider 2023년 1월 5일
편집: Walter Roberson 2023년 1월 9일

답변 (1개)

Luca Ferro
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
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
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 ?

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by