im not able to run below given code

clear all;
close all;
clc;
ang1 = [30; 0]; ang2 = [40; 0];
signal = sensorsig(pos,Nsamp,[ang1 ang2],nPower);
mvdrspatialspect = phased.MVDREstimator('SensorArray',ula,...
'OperatingFrequency',fc,'ScanAngles',-90:90,...
'DOAOutputPort',true,'NumSignals',2);
[~,ang] = mvdrspatialspect (signal)
plotSpectrum(mvdrspatialspect);

3 comentarios

John D'Errico
John D'Errico el 7 de Jul. de 2019
Editada: John D'Errico el 7 de Jul. de 2019
But what is your question? Did you see an error? Perhaps you don't have some toolbox? if not, then it just means you need to buy the necessary toolbox. We cannot help you there.
mudasir sheikh
mudasir sheikh el 7 de Jul. de 2019
Right sir, I don't have tool box. Can i install it from open source. Thanks
Rik
Rik el 7 de Jul. de 2019
That depends. Is it toolbox provided by Mathworks? Then there doesn't exist an open source or free version, you will have to buy a license. If the toolbox is not made by Mathworks, it depends on who is distributing it. Some third party toolbox developers will charge a fee for their toolbox.

Iniciar sesión para comentar.

Respuestas (1)

John D'Errico
John D'Errico el 7 de Jul. de 2019
Editada: John D'Errico el 7 de Jul. de 2019

0 votos

Now that we know what the problem is, those functions are part of the Phased Array System toolbox.
No, we (or anybody) cannot give it to you for free. You need to buy the toolbox.
No, there is not an open source version of that toolbox.
Of course, nothing stops you from writing code that will perform the same actions. If the price is too much for you, then you need to decide if it is worth your time to write that same functionality. What is your time worth to you? Remember that the person/people who wrtote the tool that you want to get for free spent a large amount of time in that effort. (For example, the last toolbox I wrote required multiple man-months of my time to write.)

Categorías

Más información sobre Manage Products en Centro de ayuda y File Exchange.

Preguntada:

el 7 de Jul. de 2019

Editada:

el 7 de Jul. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by