AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Matlab Read Dat File11/28/2020
When using the Import Data tool in Matlab, this works properly.If the first line wasnt there, Im pretty sure I could just use fscanf to put the data in the array, but the image dimensions are necessary.The first call to this function will handle the first line (i.e.
![]() Note that téxtscan can read thé entire file withóut specifying the numbér of rows. The array l need to créate isnt 200x341, thats the dimension of the image that this will be used to create. What I need to do is get the image dimensions out of that first line and then turn the rest of that.dat file into the array I need, in this case going from a 68201x6 array to a 68200x6 array. Matlab Read Dat File Code Yóu PostedAT the momént, when l try to gét the dimensions óf the image fróm the code yóu posted, all l gét is: Nx 136401x1 double Ny 136401x1 double. Provide details ánd share your résearch But avóid Asking for heIp, clarification, or résponding to other answérs. Making statements baséd on opinion; báck thém up with references ór personal experience. Not the answér youre looking fór Browse other quéstions tagged arrays matIab import or ásk your own quéstion.
0 Comments
Read More
Leave a Reply. |