Writing this Mathcad equation in Matlab

1 次查看(过去 30 天)
hi, Im trying to convert an equation from mathcad into matlab but am struggling. the equation is:

采纳的回答

Star Strider
Star Strider 2018-3-22
Try this:
psi = 0.142;
Io = 1;
f_vir2 = @(r) 4*Io * abs(integral(@(rho)besselj(0, pi*rho*r*psi).*rho, 0, 1)).^2;
r = pi;
test_call = f_vir2(r)
  8 个评论
Star Strider
Star Strider 2018-3-23
@Torsten — Thank you.
@Jason — Our pleasure.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Bessel functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by