I have changed it to
title(['PCA scores', num2str(method),num2str(par)]);
however it is giving following error
Error using num2str (line 24)
Input to num2str must be numeric
Deva
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!