Enter output data, at the entrance of the same process.
1 view (last 30 days)
Show older comments
Good Morning.
I await your help with much gratitude.
Through certain operations I get a matrix of 10 X 20 I call that matrix "arrmat"
Subsequently the values of "arrmat" I pass through several operations and I get another matrix of 10 x 20 and that matrix I call "rxx"
How do I enter the values obtained in "rxx" to the matrix "arrmat" and so on, cyclically?
Hoping you can help me. First of all, Thanks.
0 Comments
Answers (1)
BhaTTa
on 18 Oct 2024
Hey @Ricardo Gutierrez, I assume that for each cycle you will calculate value of 'rxx' from 'arrmat' and then update the values of 'arrmat' from 'rxx', below i have provided high level implemenation of the same, Please take it as a refernce and update your code accordingly:
% Assuming arrmat is already defined as 10x20 matrices
% Initialize a counter to keep track of the cycles
cycleCount = 0;
% Set the maximum number of cycles you want to perform
maxCycles = 10; % Adjust this value as needed
while cycleCount < maxCycles
% Perform your operations to obtain rxx from arrmat
% Update arrmat with the values from rxx
arrmat = rxx;
% Increment the cycle count
cycleCount = cycleCount + 1;
end
Hope it helps.
0 Comments
See Also
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!