<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(&#39;deformfield2d.vtk&#39;,&#39;r&#39;,&#39;l&#39;); and after iterating to the correct line:</div><div style><br></div><div style><div>V = fread(fid,siz,&#39;*single&#39;);  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&#39;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>