what does this error mean?

2 Ansichten (letzte 30 Tage)
Enez Furkan Cihan
Enez Furkan Cihan am 31 Jul. 2017
Kommentiert: Walter Roberson am 31 Jul. 2017
"Array formation and parentheses-style indexing with objects of class 'phased.RootMUSICEstimator' is not allowed. Use objects of class 'phased.RootMUSICEstimator' only as scalars or use a cell array." I get this error when try to estimate DOA with MUSIC algorithm.
rootmusicangle = phased.RootMUSICEstimator('SensorArray',ula,...
'OperatingFrequency',fc,...
'NumSignalsSource','Property','NumSignals',2);
Thanks in advance

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 31 Jul. 2017
Somehow, phased.RootMUSICEstimator has stopped being a constructor that takes options, and has become a particular phased.RootMUSICEstimator object, and it thinks the 'SensorArray',ula and so on are indices into an array of such objects.
Perhaps at some point there has been a
phased.RootMUSICEstimator = .... something
call ?
  1 Kommentar
Walter Roberson
Walter Roberson am 31 Jul. 2017
Sorry, my system is occupied with a long-running task; I cannot test at the moment.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by