How to save plotted data in "Sensor Array Analyzer"
조회 수: 4 (최근 30일)
이전 댓글 표시
In the Sensor Array Analyzer, I just want to save the x and y data of a directivity plot. For example:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/977755/image.png)
How can I save this data, preferably to a csv type format? Thanks!
- Jon
댓글 수: 0
답변 (1개)
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’)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Array Geometries and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!