How to bin Data?

2 views (last 30 days)
ariane
ariane on 4 Jun 2018
Edited: dpb on 4 Jun 2018
Hi,
I have a question relating to data binning. If I wanted to bin this data (See below) by initial elevation, Kinetic energy and the ion start position (X,Y,Z), how can I go about doing this? The purpose of this would be to allow me to plot input energy/elevation versus count rate. Each line represents one count. I have also attached a CSV to provide more detail on the data. Thank you.
"Ion N","Mass","Charge","X","Y","Z","Azm","Elv","KE"
1,0.00054858,-1,61.5216,-51,0,0,85,15000
2,0.00054858,-1,61.6216,-51,0,0,85,15000
3,0.00054858,-1,61.7216,-51,0,0,85,15000
4,0.00054858,-1,61.8216,-51,0,0,85,15000
1176693,0.00054858,-1,65.7216,-51,0,0,89.6,17080
1176713,0.00054858,-1,67.7216,-51,0,0,89.6,17080

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!