Data Processing (Count per mag)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
amberly hadden
am 23 Jan. 2015
Beantwortet: Star Strider
am 23 Jan. 2015
Dear all,
I'm trying to write a program which will calculate following table
Mag Range Count Per mag Cumulative Number above Mag Range
2.52 3 636
2.55 1 635
2.59 1 634
2.6 4 630
2.62 13 617
2.63 2 615
2.7 10 605
2.72 7 598
2.73 6 592
2.75 2 590
2.8 10 580
2.82 12 568
2.83 10 558
Can any body help me to write a small program for it.
Thank you Amb
0 Kommentare
Akzeptierte Antwort
Star Strider
am 23 Jan. 2015
Use the histc or histcounts functions to get the data in your second column, then cumsum to get the third column.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!