Histogram using five different ¨his¨

1 回表示 (過去 30 日間)
VIOLETA PELLICER MORATA
VIOLETA PELLICER MORATA 2015 年 12 月 4 日
回答済み: Image Analyst 2016 年 1 月 5 日
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!

回答 (2 件)

Tushar Athawale
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:

Image Analyst
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.

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by