Plots the trend in a 2-parameter data set interactively, i.e. it generates bins along the X-scale, and calculates the mean of the Y parameter for each bin.
The first bin contains elements smaller than or equal to the smallest bin, the last bin contains elements larger than the largest bin.
Structure of the input 2-parameter data set: column 1 - X variable, column 2 - Y variable
Cite As
Peter Nagy (2024). createTrend (https://www.mathworks.com/matlabcentral/fileexchange/28655-createtrend), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization > Statistical Visualization > Box Plots >
Find more on Box Plots in Help Center and MATLAB Answers
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 |