This toolbox can be used for Linear as well as Penalized Linear Estimators.
Download the package here.
Download and extract the .zip file to a folder.
Add the folder to the Matlab search path.
Linear regression
Penalized linear regression