I have data from a measurement. It is stored in the format
x y value
x y value
64 4 2743
64 8 3531
64 16 4543
64 32 5222
64 64 5730
128 4 2778
128 8 3500
128 16 4657
etc
How can I rearrange this into a matrix of format
y= 4 8 16 32 64
x=
64 2743 3531 4543 5222 5730
128 2778 3500 4657 … …
256 … … … … …
512 … … … … …
in octave?
Here I am assuming you have a measurement for every combination of values of x and y, else we cannot create a matrix. Also, the sequence of x and y values should repeat just like your example.
Output: