How to Create a Matrix From a Nested Loop in MATLAB? - GeeksforGeeks

How to Create a Matrix From a Nested Loop in MATLAB? - GeeksforGeeks