variable be a complex matrix? If so, how do I define this variable.
Thank you
variable x (m,n) complex
Just like this. I used complex keyword,but it showed Invalid structure specification: (m,n)
That error is due to the space between x
and (m,n)
variable x(m,n) complex
will work, provided m
and n
already have positive integer values.
Mark,I give the integer values to m and n, just like this
cvx_begin
m=512; n=20
variable x (m,n) complex;
…
cvx_end
but the error still exists , ''Invalid structure specification: (m,n)"
so I don’t know what caused it appearance .
Thank you
Your code still has a space between
x
and
(m,n)
You need to remove that space.
Thank you , Mark . My problem was solved perfectly.