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

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

3 件のコメント

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 2020 年 4 月 3 日
it returns the following
'helperPolarizationView' not found.
:-(
Hussain Ali
Hussain Ali 2020 年 4 月 3 日
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??

サインインしてコメントする。

 採用された回答

Honglei Chen
Honglei Chen 2020 年 4 月 3 日

0 投票

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

3 件のコメント

Hussain Ali
Hussain Ali 2020 年 4 月 3 日
編集済み: Walter Roberson 2020 年 4 月 9 日
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 2020 年 4 月 9 日
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.
HTH
Hussain Ali
Hussain Ali 2020 年 4 月 9 日
編集済み: Hussain Ali 2020 年 4 月 9 日
it worked!!!
thank you so much...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by