Reading Workspace variable into csv file
Mostrar comentarios más antiguos

I got above 22 side bands output from 3D DWT, which are represented in the form of matrix. I need to read this into the csv file. Can anyone help me out???
6 comentarios
Peng Li
el 2 de Abr. de 2020
you can always write data to csv or many types of other files. The question that is not clear here is how do you want them to be saved (displayed) in the csv. They are 3d matrix.
Mehul Jain
el 2 de Abr. de 2020
Rik
el 2 de Abr. de 2020
Presumably you need them in a csv file because another program needs to read them. What format does that other program require?
Mehul Jain
el 2 de Abr. de 2020
Rik
el 2 de Abr. de 2020
You misunderstand me. Your matrix is 3D. There are many ways to encode that information into a file that contains comma separated values. Some programs/formats require you to put the coordinates first, followed by the value, with one line per value.
You see the route that Mathworks has chose to display the data: page by page. You could do that as well, but is your program able to understand you mean 17x19x17 instead of 17x323?
Mehul Jain
el 2 de Abr. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Large Files and Big Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
