

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


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.


I am also learning these things... Did you try reading in the text file by importing it as a "Table"? Using mlab or by importing your txt file in python assigning the array to a variable? https://domyessay.onl/coursework-writing/
Login to add comment