0
How to Read a Text File and Plot it in a Surface 3d Plot

Hello, I am a complete begginner and I am passing for some troubles. I would like to start reading a text file which is filled with 512x512 float points matrix and after use it as the Z axis of the surface plot. Below follows my code. For some reason is shown that the file cannot be read. Could someone help me?

M = fscanfMat("C:\\Users\\Home\\Desktop\\Data.txt");
t=[0:64:511];
plot3d(t,t,M)


Scilab 25-03-21, 9:11 a.m. Henphys
0

I would like to start reading a text file which is filled with 512x512 float points matrix and after use it as the Z axis of the surface plot.

iMessage Download

30-03-21, 12:27 p.m. LeonardMontano


Log-in to answer to this question.