Loop Matrix elements on a script?
1 次查看(过去 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!