Returns the SDI (Shape Difference Indicator) for two given input matrices A, B containing modal vectors column-wise. The matrices must have the same number of rows.
sdi(A, B) = ( 1 - |A - B|2 / (A' A + B' B) )2
Syntax
sdi(A, B)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | A | real, complex | matrix | |
B | real, complex | matrix | ||
Result: | C | real | matrix |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
A | Argument | REAL MATRIX |
| [[1,3],[3,5]] | |
B | Argument | REAL MATRIX |
| [[1,2],[3,5]] | |
C | Result | REAL MATRIX |
| sdi(A,B) |