Borrar filtros
Borrar filtros

Writing this Mathcad equation in Matlab

2 visualizaciones (últimos 30 días)
Jason
Jason el 22 de Mzo. de 2018
Comentada: Star Strider el 23 de Mzo. de 2018
hi, Im trying to convert an equation from mathcad into matlab but am struggling. the equation is:

Respuesta aceptada

Star Strider
Star Strider el 22 de Mzo. de 2018
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 comentarios
Jason
Jason el 23 de Mzo. de 2018
Thankyou again
Star Strider
Star Strider el 23 de Mzo. de 2018
@Torsten — Thank you.
@Jason — Our pleasure.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Bessel functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by