Loop Matrix elements on a script?

1 次查看(过去 30 天)
Fred John
Fred John 2015-1-29
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 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by