<div dir="ltr">Hi all,<div><br></div><div style>Im running a little endian system, I am attempting to visualize a displacement field saved as a .vtk file (float) in matlab, and would like to compare this to Paraviews display.</div>
<div style><br></div><div style>When I read the data in matlab using fid=fopen('deformfield2d.vtk','r','l'); and after iterating to the correct line:</div><div style><br></div><div style><div>V = fread(fid,siz,'*single'); V = reshape(V,siz); </div>
<div><br></div><div style>The output is nonsense and it appears to be written as big endian, however the min max values I obtain when reading as big endian don't agree with paraviews for one of the two components?</div>
<div style><br></div><div style>Can anyone offer insight into my problem?</div><div style><br></div><div style>Kind regards</div><div style><br></div><div style>Emma </div></div><div><br></div></div>