freqTable(X,rval)
freqTable.m is a function similar to hist.m in that it computes the frequency statistics. The stats are calculated for an entire vector (X) or each column in a matrix (X). If you wish to calculate the statistics of an entire matrix, use X(:). Outputs are the bin centres (x), frequency counts (f), and proportion values (p). The function includes an optional input (rval) to round all entries to multiples of the specified value (binning).
[x,f,p] = freqTable(X,rval)
Cite As
Shannon Locke (2025). freqTable(X,rval) (https://se.mathworks.com/matlabcentral/fileexchange/61023-freqtable-x-rval), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > DSP System Toolbox > Statistics and Linear Algebra > Measurements and Statistics >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
