But it displays Error using Reshape because my elements are change.
My goal is to reshape my input becomes n×n matrices. When i tried to change
For example i input z=2 And input each one,
This just display
But i "want" my result is like this
Notice that in my first column, i raised them to zero, (1^0=1, 2^0=1, 3^0=1)
In my second column, i raised them to one, (1^1=1, 2^1=2, 3^1=3).
And in my last column i squared them as (1^2=1, 2^2=4, 3^2=9)
How to process this become possible?