Loop Matrix elements on a script?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi.
Let's say I have a function who's inputs are from an array (1 to k) of external data. The output to the function is an kxk matrix being iterated in 2 for loop's for i,j to k. So now we have a kxk (say A) matrix who's elements consist of the output of some function.
Question: How can I use EACH element in the matrix to iterate a script file for all i,j? The output should be a kxk matrix. The script file begins using the elements of matrix A.
Thanks!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!