What does this upperline mean?

15 Ansichten (letzte 30 Tage)
Ivor Horton
Ivor Horton am 17 Jun. 2020
Beantwortet: Steven Lord am 17 Jun. 2020
I did a simple test.
What does the lines above bs mean?
  2 Kommentare
KSSV
KSSV am 17 Jun. 2020
syms stand for symbolic. It is a symbolic computation.
Ivor Horton
Ivor Horton am 17 Jun. 2020
Yes I know it's symbolic computation. But why only b has upper line and a doesn't? What does the lines mean?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Steven Lord
Steven Lord am 17 Jun. 2020
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.']

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by