What does this upperline mean?

14 visualizzazioni (ultimi 30 giorni)
Ivor Horton
Ivor Horton il 17 Giu 2020
Risposto: Steven Lord il 17 Giu 2020
I did a simple test.
What does the lines above bs mean?
  2 Commenti
KSSV
KSSV il 17 Giu 2020
syms stand for symbolic. It is a symbolic computation.
Ivor Horton
Ivor Horton il 17 Giu 2020
Yes I know it's symbolic computation. But why only b has upper line and a doesn't? What does the lines mean?

Accedi per commentare.

Risposta accettata

Steven Lord
Steven Lord il 17 Giu 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.']

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by