KarhunenLoeveDecomposition function in Mathematica

  • Thread starter Thread starter confused_engineer
  • Start date Start date
  • Tags Tags
    Function Mathematica
AI Thread Summary
The discussion revolves around the use of the Karhunen-Loève expansion in Mathematica to analyze a large dataset, stochasticData.mat, which contains 211,302 measurements of a stochastic process across 50 realizations. The user, identified as Confused_engineer, seeks assistance in interpreting the results from their Mathematica code, specifically the function KarhunenLoeveDecomposition, as they are struggling to identify the uncorrelated random variables generated by the process. Despite attempts to read the data from both a .mat file and a text file, the user reports that the function appears ineffective. They have provided a smaller version of the dataset for others to analyze and have referenced additional resources for further research on the Karhunen-Loève decomposition.
confused_engineer
Messages
34
Reaction score
1
TL;DR Summary
I am unable to properly use the KarhunenLoeveDecomposition function included in Mathematica to calculate the uncorrelated random variables.
Hello everyone. I have a vector, stochasticData.mat, it contains a matrix of size 211302*50, being 211302 measurements of 50 realizations of a stochsatic process. I want to use the Karhunen-Loève expansion and the software Mathematica to calculate the uncorrelated random variables. For that, I have written the following code:

SetDirectory[NotebookDirectory[]];
stochasticData = Import["stochasticData.mat"]
KarhunenLoeveDecomposition[{stochasticData}]

Also, I have tried to read the data transformed into a text file asUnfortunately, since I am not proficient with Mathematica, I cannot propperly understand the results and I don't know how to find the random uncorrelated random variables, it seems like the function has no effect as can be seen in the attached image. Can someone please help me?

Best regards

Confused_engineer.

E. G. I cannot upload stochasticData.txt since it is too heavy, but I am uploading a smaller version which contains the first 10000 measurements, just in case someone can help me.
 
Technology news on Phys.org
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top