converting column of data to matrix plane
Show older comments
Hello,
I have a data file that has the following shape:
x y z U V W
-0.026 -0.108 0.1 -4.4822257E-02 5.4139438E-01 1.1798316E-10
-0.025 -0.108 0.1 -4.9442114E-02 6.5561204E-01 6.8515270E-11
-0.024 -0.108 0.1 -1.2523164E-01 5.4269489E-01 -9.1736493E-11
-0.023 -0.108 0.1 -1.9679146E-01 4.1256618E-01 -2.4873436E-10
-0.022 -0.108 0.1 -2.4292102E-01 2.9788454E-01 -3.5452176E-10
where it represents the velocity values of a plane (67*67), every 67 row y changes.
I want to convert a single column of the velocity value (U, V or W) to a matrix that represents the actual plane (67*67), by taking every 67th line and paste it in a new row.
Any way to do it? the original data file is included if needed.
Thank you!!!
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!