MATLAB: Extracting element values from a matrix in Simulink

extract_elementsmatrixsimulink

I have a covariance matrix P(k) that's [2×2] I want to read the values of the diagonal elements with a scope. I was wondering how this could be done?
Best Regards,
Shawn Daniel

Best Answer

You can use a selector block