MATLAB Answers

0

im not able to run below given code

Asked by mudasir sheikh on 7 Jul 2019
Latest activity Edited by 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

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
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.

1 Answer

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

  0 Comments

Sign in to comment.