Different order Bessel function in each column of an array
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
David
am 18 Mär. 2018
Kommentiert: David
am 19 Mär. 2018
Is there a way of calculating the array J, below, without using a loop?
X = 0:0.1:20;
J = zeros(5,201);
for i = 0:4
J(i+1,:) = besselj(i,X);
end
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 19 Mär. 2018
From the documentation, "If nu and Z are arrays of the same size, the result is also that size." Make arrays for nu and Z using meshgrid.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Bessel functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!