Info

This question is closed. Reopen it to edit or answer.

The results of a code place them at the entry of the same code.

1 view (last 30 days)
Hi. Goodnight. I have a matrix 20 X 5 at the entrance of my code, the matrix "Prog" Later this matrix enters to the code, it is processed and at the end I have a matrix result of 20 X 5, the matrix "M" What I want to do and I have not been able to do, is to take the values of the matrix "M" and enter them into the "Prog" matrix. I will do this at least 1000 times. At the end of the code I put this: Prog = M but it does not work.
I hope you give me guidance, advice, suggestions, solutions, ... etc, etc, etc,
Greetings and thanks.
  6 Comments
Walter Roberson
Walter Roberson on 21 Jun 2018
Or just an iterative function:
M = randn(20,5);
for K = 1 : 1000
M = Prog(M);
end
Ricardo Gutierrez
Ricardo Gutierrez on 21 Jun 2018
It is true what you say, it is very difficult to give advice if you do not have the complete code. For privacy reasons I can not put the full cogigo. Anyway thanks for answering

Answers (0)

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!