Where are the other steps Neil ?
The problem wants the covariance matrix of the z-score obtained at the previous step if someone else found the problem description unclear.
Now what was so hard about that? :-)
Next I need to work on this pernicious 'ans' rubbish.
HAHAHA I had some fun here, sorry about that... ;-)
but also I forgot the minus one. :-/ So the test-case was wrong. Now I found my mistake.
I had the same idea, but I was occupied by bypassing the covariance function :-D
Getting the indices from a vector
Calculate Euler's phi function
Matrix with different incremental runs
Six Steps to PCA - Step 1: Centre and Standardize
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office