why get different Variables? #1365
Unanswered
Afzal1547
asked this question in
General discussion
Replies: 1 comment
-
Because multiplication and elementwise multiplication are two different things
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Sir, I am new here, using YALMIP solver in Matlab. Here i don't understant. its just a simple eg.
a = sdpvar(3,3);
b = [1 0 0;0 0 0;1 1 1];
c = a * b
d = a .* b
The result is showing that
Linear matrix variable 3x3 (full, real, 5 variables)
Linear matrix variable 3x3 (full, real, 4 variables)
but here 'a' is Linear matrix variable 3x3 (symmetric, real, 6 variables).
my Question is why and how we get different variables for 'c' and 'd'? Thanks
Beta Was this translation helpful? Give feedback.
All reactions