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

2 commentaires

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

Connectez-vous pour commenter.

 Réponse acceptée

Steven Lord
Steven Lord le 17 Juin 2020

0 votes

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.']

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by