Different order Bessel function in each column of an array
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Steven Lord
2018 年 3 月 19 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Bessel functions についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!