see is used to display the basis of an sdpvar object.
Syntax
see(x)
Examples
A symmetric 2x2 matrix has the following base matrices
x = sdpvar(2,2);
see(x)
Constant matrix
0 0
0 0
Base matrices
1 0
0 0
0 1
1 0
0 0
0 1
Used variables
1 2 3
see(x)
Constant matrix
0 0
0 0
Base matrices
1 0
0 0
0 1
1 0
0 0
0 1
Used variables
1 2 3
When an sdpvar object is altered, the base matrices change
x = sdpvar(1,1);
see(2*x-3)
Constant matrix
-3
Base matrices
2
Used variables
4
see(2*x-3)
Constant matrix
-3
Base matrices
2
Used variables
4