File Exchange

image thumbnail

x2fx_names - compound predictor names for x2fx

version 1.0.0.0 (2.12 KB) by Dmitry Kaplan
returns NAMES of columns for the output of x2fx()

1 Download

Updated 01 Mar 2013

View License

x2fx() in the statistics toolbox generates additional design variables by multiplying and computing powers of predictor variables passed to it as columns of an input matrix. Unfortunately, if one has NAMES for these predictor variables recorded elsewhere (e.g. {'height', 'speed', 'weight'} there is no way to quickly figure out the names of compound design variables that x2fx() will generate and in what order. This function does just that.

Cite As

Dmitry Kaplan (2021). x2fx_names - compound predictor names for x2fx (https://www.mathworks.com/matlabcentral/fileexchange/40580-x2fx_names-compound-predictor-names-for-x2fx), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Cary Opel

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!