I need helpt with a for loop to pick numbers from a vector and put them in an existing non square in the order shown in the figure below (hop it makes sense). It starts at the dot and then follow the arrow. the resulting matrix should be as the one in the blackbackgrownd figure.
Sorry if this has been asked before <3 .
Thank you.
6 Comments
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141913
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141913
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141923
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141923
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141938
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141938
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141963
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141963
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141973
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141973
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141988
Direct link to this comment
https://nl.mathworks.com/matlabcentral/answers/651673-for-loop-help#comment_1141988
Sign in to comment.