xnfx - High order predictor matrix for regression analysis
Version 1.0.0.0 (2.67 KB) by
Ieong
extension of x2fx to generate higher order predictor matrix for regression analysis
An extension to X2FX which can convert predictors to design matrix to higher order (equal or lower than dimension of x).
Let A and B represent the two columns of X. The rows of the MODEL matrix specify the terms 1, A, B, C, A.*B, A.*C, B.*C, A.^2, B.^2, C.^2, A*B*C, A.^3, B.^3, C.^3.
Cite As
Ieong (2026). xnfx - High order predictor matrix for regression analysis (https://uk.mathworks.com/matlabcentral/fileexchange/39144-xnfx-high-order-predictor-matrix-for-regression-analysis), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Regression in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
