How to get correlation in Simulink

2 views (last 30 days)
Anybody knows how I can possibly get correlation between two sets of data in Simulink? (maybe using Matlab function, ...) Another issue is that my input to correlation function (I coded something) is the output from the same simulation model, so the software does not have the output of the first block to feed in as the input for the next block. (maybe a priority should be applied ?)

Answers (1)

Abhishek Ballaney
Abhishek Ballaney on 5 Feb 2018
https://in.mathworks.com/help/signal/correlation-and-convolution.html
  1 Comment
Mohammad Amin Javadi
Mohammad Amin Javadi on 9 Feb 2018
We are not allowed to write Matlab codes in Simulink. Plus, if I knew how to set priorities in Simulink blocks or subsystems then probably my problem was solved.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!