Collector for Uniform Linear Array
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hassan hassani
le 29 Jan 2018
Commenté : hassan hassani
le 31 Jan 2018
i wrote this code
array = phased.ULA('NumElements',2,'ElementSpacing',0.5);
collector = phased.Collector('Sensor',array,...
'PropagationSpeed',physconst('LightSpeed'),...
'OperatingFrequency',3e8,'Wavefront','Plane');
x =[1 -1 1 -1]';
y = collector(x,[45;0])
according to matlab example in my matlab but i got this error: Array formation and parentheses-style indexing with objects of class 'phased.Collector' is not allowed. Use objects (of class 'phased.Collector' only as scalars or use a cell array.) why?
0 commentaires
Réponse acceptée
Honglei Chen
le 29 Jan 2018
You may be using an older release where the using the class name to do a function call is not supported yet, could you try the followoing?
y = step(collector,x,[45;0])
HTH
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!