CSV file that needs to be run through MATLAB?
Mostrar comentarios más antiguos
New to MATLAB. I have been given data in a CSV file that needs to be run through a given MATLAB code and I do not know where to even start. Can anyone help me?
6 comentarios
Duplicate:
"Can anyone help me?"
You can help you, by reading the links that Star Strider gave you. They show how to import data. If you tried them and something did not work then please add comments to that question, showing exactly what you tried.
It does not help to simply ask the same question again and again.
Kristine McKay
el 9 de Nov. de 2018
Steven Remington
el 12 de Nov. de 2018
Hi Kristine,
If you are looking to read from a CSV file, I would recommend starting with the "readtable" function in MATLAB. This should be able to read in the data and store it in a MATLAB table so that you can use it.
More information about this function can be found at the link below: https://www.mathworks.com/help/matlab/ref/readtable.html
Kristine McKay
el 12 de Nov. de 2018
Walter Roberson
el 12 de Nov. de 2018
Does the file name really have a comma and space in it? And does it really not have a file extension?
I speculate that you are interested in the column named Value in the file cardio_test_2.csv
T = readtable('cardio_test_2.csv');
T.Value
Kristine McKay
el 12 de Nov. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Text Files 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!