Histogram using five different ¨his¨
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I am glad that I can ask questions in here. I am a Matlab beginner and I want to analyze five different traces )that i have been converted into MSF file)I know that I need his file to do that, but I do not know how to build an histogram with five different tables (doing an average in one table and represent that in one histogram I imagine..)
Thanks a lot for all your help, that website is always helpful!
0 个评论
回答(2 个)
Tushar Athawale
2016-1-5
Initially, you will need to read data from a table into MATLAB variable. You can then build a histogram for data using "histogram" command:
0 个评论
Image Analyst
2016-1-5
Somehow you have to get the data into MATLAB. Were the 5 traces originally in MATLAB before you did this conversion into MSF files? Why did you do that anyway? What form do these "traces" take on in your program? Are they arrays of doubles? How many dimensions and what length is each dimension?
Or do you not have the original source data (the 5 traces) and have only the MSF files? In that case, you'll have to find an MSF file reader to import them into MATLAB.
Why would a histogram need a table? What columns would you have? Usually the histogram is composed of two arrays: one for the bin centers or edges, and one for the counts. Have you looked at histogram()? It returns an object with lots of properties and methods and two of the properties are the two arrays I mentioned.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!