Plot mixed data from .csv file
Mostrar comentarios más antiguos
EDIT - file now attached, apologies.
Hi,
Noob question about data import from .csv file.
Got a historian database that logs values of various sensors. Can export from database to flat file.
Typical format of file: TagName,DateTime,Value. Where there are multiple tagnames in each file, values usually recorded every second. Sample file attached.
Aim is to plot sensor values on same plot and then do some frequency analysis to determine periodicity patterns.
So far I have been pre-processing by manually splitting sensor data into individual files (using Excel) then importing these files and plotting. I feel there must be more efficient method/workflow to read this mixed file. (I did see timeseries mentioned in data analysis section of documentation maybe this is way to go, but can't figure out how to create from file.)
- Can any one suggest a suitable workflow with required commands/wizard?
Any help or info appreciated.
Thank you,
Michael
3 comentarios
Walter Roberson
el 25 de Ag. de 2015
The sample file did not get attached.
Walter Roberson
el 25 de Ag. de 2015
Do the "TagName" identify the different sensors? Is the data from all of the files to be combined, or is each file to be handled independently?
Michael Cody
el 25 de Ag. de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Calendar 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!