MATLAB Answers

Undefined function 'helperPolarizationView' for input arguments of type 'double'.

5 views (last 30 days)
Hussain Ali
Hussain Ali on 3 Apr 2020
Edited: Walter Roberson on 9 Apr 2020
I am trying to use 'helperPolarizationView' command to view polarization of two electric field which are defined Ex=Exo*cos(wt); and Ey=Eyo*cos(wt+phi);
where Exo=amplitude of E-Field along x axis, Eyo=amplitude of E-Field along y axis, wt=omega*t (frequency in rad/sec), phi is the time phase difference between Ex and Ey.
here's the code:
I am getting the error as given:
tried this command on three different pc it did work only one that was having MATLAB 2019a while other 2 were having MATLAB 2018a and 2010a


Geoff Hayes
Geoff Hayes on 3 Apr 2020
Hussain - do you have the Phased Array System Toolbox? If you do, does it have this function? To find out if you have this function, type the following at the command line
which helperPolarizationView -all
What does it return?
Hussain Ali
Hussain Ali on 3 Apr 2020
although i have found Phased array system toolbox in simulink but i think that tool does not have this function,..
is there any way that i can save this function by copying source code from other pc??

Sign in to comment.

Answers (1)

Honglei Chen
Honglei Chen on 3 Apr 2020
This is a helper function for the example, so you need to open that example from MATLAB. This will copy the supporting files into a directory. Then you should be able to use it.
If you find it useful, please let me know and we can see if there is a way to productize it as a feature.


Hussain Ali
Hussain Ali on 3 Apr 2020
i have some how managed to find that example (given in code section) from another pc and tried to save it in examples folder of MATLAB but i dont have permission to save the m.file in that folder, instead i saved it in C/User/User_Name/Documents/MATLAB...but even then its not working
%% Modeling and Analyzing Polarization
% This example introduces the basic concept of polarization. It shows how
% to analyze the polarized field and model the signal transmission between
% polarized antennas and targets using Phased Array System Toolbox(TM).
% Copyright 2012-2016 The MathWorks, Inc.
(Copyrighted code removed - WDR)
Honglei Chen
Honglei Chen on 9 Apr 2020
If you have Phased Array System Toolbox, type
>> demo toolbox phased
then find this example. There should be a button says someting along "Open Example". When you do that, all supporting file will be saved into a folder and you can find the helper funciton there.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!