what does this error mean?

1 visualizzazione (ultimi 30 giorni)
Enez Furkan Cihan
Enez Furkan Cihan il 31 Lug 2017
Commentato: Walter Roberson il 31 Lug 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

Risposta accettata

Walter Roberson
Walter Roberson il 31 Lug 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 Commento
Walter Roberson
Walter Roberson il 31 Lug 2017
Sorry, my system is occupied with a long-running task; I cannot test at the moment.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by