- propagationData datatypes: https://www.mathworks.com/help/antenna/ref/propagationdata.html
- contour function: https://www.mathworks.com/help/comm/ref/contour.html
How to combine propagationData data types?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everyone,
I would like to ask you for help regarding the propagationData in Antenna Toolbox. I have multiple propagationData from multiple radars. Can I please somehow combine them and them visualise them using contour command?
PS: I have tried command "add" which should work with propagation models, but does not.
Thank you
Michal Černý

0 Kommentare
Antworten (1)
Ayush Modi
am 6 Mär. 2024
Bearbeitet: Ayush Modi
am 6 Mär. 2024
Hi Michal,
The "propagationData" datatype variables do not have a built-in method for merging.
As a workaround, you can manually concatenate each field from data property of "propagationData" datatype variables. Here is an example to demonstrate how you can achieve this using "propagationData" function:
% Assuming pd1 and pd2 are two propagationData variables
Latitude = [pd1.Data{:,1}; pd2.Data{:,1}]; % Concatenate Latitude
Longitude = [pd1.Data{:,2}; pd2.Data{:,2}]; % Concatenate Longitude
mData = [pd1.Data{:,3}; pd2.Data{:,3}]; % Concatenate the data
tbl = table(Latitude, Longitude, mData);
newpd = propagationData(tbl);
% Once merged, you can visualise the merged data using "contour" function.
contour(newpd,"LegendTitle","TitleName");
Note - Data you're merging must be compatible. Otherwise, you will need data specific operations for concatenating them.
Please refer to the following MathWorks documentation for more information on:
Hope this helps!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Design, Analysis, Benchmarking, and Verification finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!