im not able to run below given code

1 view (last 30 days)
mudasir sheikh
mudasir sheikh on 7 Jul 2019
Edited: John D'Errico on 7 Jul 2019
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 Comments
mudasir sheikh
mudasir sheikh on 7 Jul 2019
Right sir, I don't have tool box. Can i install it from open source. Thanks
Rik
Rik on 7 Jul 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.

Sign in to comment.

Answers (1)

John D'Errico
John D'Errico on 7 Jul 2019
Edited: John D'Errico on 7 Jul 2019
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.)

Community Treasure Hunt

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

Start Hunting!