I use pcacov command in matlab with pcacov(20000*20000 matrix) input parameters, but matlab can't handel it with memory and show error:
pcacov matlab Out of memory. Type HELP MEMORY for your options.
How can i solve this problem with coding or setting in the matlab and with out add or change any hardware memory or change pc.
I do not think that you can fix this problem without adding more memory. The matrix that MATLAB uses is as big as your physical memory. You can consider some algorithms use partitioned matrix, or you may try tall arrays in MATLAB. But, these technologies make research more complex.