+ 1

In matlab if I make 2 dimensional vector as symbolic syms w[1 10] and write this line: assume(w,'real');

In matlab if I make 2 dimensional vector as symbolic syms w[1 10] and write this line: assume(w,'real'); What would be the difference between this syms real w and just syms w?

17th Nov 2020, 9:50 AM
Zhenis Otarbay
Zhenis Otarbay - avatar
2 Respuestas
+ 2
I'm not sure but from what I can guess is that you have an array of complex numbers and saying 'real' would only return the real part of it. complex = real + imaginary 6 + 7.8i could be an example where 6 is the real part.
17th Nov 2020, 10:09 AM
Avinesh
Avinesh - avatar
+ 2
Avinesh thanks, seems like this
17th Nov 2020, 10:13 AM
Zhenis Otarbay
Zhenis Otarbay - avatar