Could anyone please assist me on how to plot the below piece of code,
residsumsq = norm(simout_b(:,1)-simout_a(:,1),2)^2;tsumsq = norm(simout_b(:,1)-mean(simout_b(:,1)),2)^2;R2 = 1-(residsumsq/tsumsq);
Also how to display the R square value on running the mfile. Please help.
Best Answer