This example uses:
This example shows how to use the Extract Diagonal block.
Open the Simulink model.
The Extract Diagonal block returns the main diagonal of the input matrix. The main diagonal of the input matrix is [1,5,9].
Run the model to verify.
You have a modified version of this example. Do you want to open this example with your edits?