How to save plotted data in "Sensor Array Analyzer"

8 ビュー (過去 30 日間)
Jon Kraft
Jon Kraft 2022 年 4 月 25 日
回答済み: Chandu 2022 年 4 月 28 日
In the Sensor Array Analyzer, I just want to save the x and y data of a directivity plot. For example:
How can I save this data, preferably to a csv type format? Thanks!
  • Jon

回答 (1 件)

Chandu
Chandu 2022 年 4 月 28 日
Hi,
The plot in the Sensor Array Analyzer can be saved as an image (Use “Save As” Option). Besides this, the plot can be saved as MATLAB Fig (.fig ) file.
To save the X and Y coordinate data, extract the directivity data points using "patternAzimuth" MATLAB Function and create a vector as follows and save using "writematrix" function (Excel/CSV, etc)
directivity = patternAzimuth (Array, Frequency, cutAngle)
result= [AzimuthAngle, directivity]
writematrix (result, filename.csv)
Refer to patternAzimuth, writematrixMathWorks Documentation for future reference.

カテゴリ

Help Center および File ExchangeArray Geometries and Analysis についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by