Linear regression for multiple category data with different slopes for each in matlab

The following Matlab project contains the source code and Matlab examples used for linear regression for multiple category data with different slopes for each. The function does OLS and RMA regression on data that is categorized into two different categories.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1315
example plot.jpg 42503
regress_plot_twocategories_allslope.html 17326
regress_plot_twocategories_allslope.png 3047
regress_plot_twocategories_allslope_01.png 7871
regress_plot_twocategories_allslope.m 4232