MATLAB: Documentation error for polyval ouput

MATLABregression

The documentation for polyval describes the optional output argument delta like this:
"Standard error for prediction, returned as a scalar. "
In actuality the output delta is a vector, the same length as input x values. Is this a documentation error or a bug?

Best Answer

Thank you, I've reported this to the documentation staff.