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 个评论

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.
Right sir, I don't have tool box. Can i install it from open source. Thanks
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.

请先登录,再进行评论。

回答(1 个)

John D'Errico
John D'Errico 2019-7-7
编辑:John D'Errico 2019-7-7
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.)

类别

在 帮助中心 和 File Exchange 中查找有关 Manage Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by