Usage of ndgrid for multidimensional arrays
이전 댓글 표시
Hi
I have following two matrices:
A = rand(3,180); B = rand(500,1);
I want to use them so that at the end, I have output of besselj function:
Output = besselj(x,y); where x's comes from B, and y comes from the row data of A.
Here, my output is 3-D. It is 500x180x3. The last "3" stands for the different rows of A. It seems very complicated. How can I do that?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Command Line Only에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!