Enter output data, at the entrance of the same process.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
BhaTTa
el 18 de Oct. de 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 comentarios
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!