buenos
Advanced Member level 3
- Joined
- Oct 24, 2005
- Messages
- 962
- Helped
- 40
- Reputation
- 82
- Reaction score
- 24
- Trophy points
- 1,298
- Location
- Florida, USA
- Activity points
- 9,143
Hi
I have designed an analog-to-digital converter (data acquisition) card. It samples data and I can save it into a binary file (32kS) where every byte (8-bit) represents a sample. There is nothing else in the file but samples, no header, no coordinates, no sample numbering, no x-axis markings. I need to be able to make a 2D plot where the x axis is the sample number (or byte position) and the y axis is the sample value. Not much to ask, I think.
How do i plot this using scilab (matlab) or gnuplot or any other free program? Or maybe with excel?
I spent hours in trying to make these programs to display my data without much success. Scilab doesnt like by binary files, gnuplot wants to think that the coordinate information is also embedded into the file.
what exact commands do i need to type in?
I have designed an analog-to-digital converter (data acquisition) card. It samples data and I can save it into a binary file (32kS) where every byte (8-bit) represents a sample. There is nothing else in the file but samples, no header, no coordinates, no sample numbering, no x-axis markings. I need to be able to make a 2D plot where the x axis is the sample number (or byte position) and the y axis is the sample value. Not much to ask, I think.
How do i plot this using scilab (matlab) or gnuplot or any other free program? Or maybe with excel?
I spent hours in trying to make these programs to display my data without much success. Scilab doesnt like by binary files, gnuplot wants to think that the coordinate information is also embedded into the file.
what exact commands do i need to type in?