Writing this Mathcad equation in Matlab
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
hi, Im trying to convert an equation from mathcad into matlab but am struggling. the equation is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171459/image.png)
0 Commenti
Risposta accettata
Star Strider
il 22 Mar 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Bessel functions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!