What does this upperline mean?

I did a simple test.
What does the lines above bs mean?

2 个评论

syms stand for symbolic. It is a symbolic computation.
Yes I know it's symbolic computation. But why only b has upper line and a doesn't? What does the lines mean?

请先登录,再进行评论。

 采纳的回答

It indicates that the expression involves the complex conjugate of those elements of b. You didn't tell Symbolic Math Toolbox that b was real, so it has to assume b could be complex. You then use the conjugate transpose operator ' instead of the non-conjugate transpose operator .' so it conjugated b.
syms a
syms b real
withConjugate = [a', b']
withoutConjugate = [a.', b.']

更多回答(0 个)

类别

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by