Hi Joana,
As per my undertanding, you want to implement shrinkage LDA with a MATLAB built-in function. The documentation links given below might be helpful:
Hope this helps!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!