feval
Predict responses of linear regression model using one input for each predictor
Description
returns the predicted response of ypred = feval(mdl,Xnew1,Xnew2,...,Xnewn)mdl to the new input
predictors Xnew1,Xnew2,...,Xnewn.
Examples
Input Arguments
Output Arguments
Tips
A regression object is, mathematically, a function that estimates the relationship between the response and predictors. The
fevalfunction enables an object to behave like a function in MATLAB®. You can passfevalto another function that accepts a function input, such asfminsearchandintegral.fevalcan be simpler to use with a model created from a table or dataset array. When you have new predictor data, you can pass it tofevalwithout creating a table or matrix.
Alternative Functionality
Extended Capabilities
Version History
Introduced in R2012a

