필터 지우기
필터 지우기

Issues on dimension setting of FFT plot in MATLAB 2022a.

조회 수: 26 (최근 30일)
Pemendra Kumar Pardhi
Pemendra Kumar Pardhi 2022년 8월 1일
댓글: Pemendra Kumar Pardhi 2023년 6월 6일
Hello everyone,
I have got an issue with the dimension setting, level of x-axis, y-axis, font size, style and “minor and major grid on” of the FFT plot of any signals in the MATLAB 2022a version.
FFT analysis can be obtained as an attached figure file. But there is not any option for editing the plot. How can I fix these issues?
  댓글 수: 5
Habtamu asres
Habtamu asres 2023년 6월 6일
are u sure bro?
Pemendra Kumar Pardhi
Pemendra Kumar Pardhi 2023년 6월 6일
Yes, Now I am using Matlab2023a

댓글을 달려면 로그인하십시오.

답변 (1개)

Nadia Shaik
Nadia Shaik 2023년 1월 9일
Hi Pemendra,
I understand that you want to edit the plots in the FFT Analyzer tool.
Unfortunately, editing the plots in FFT Analyzer is not possible. As a workaround, you need to re-create the plots manually. Refer the below pointers for more information:
  • The following code shows how to reference the App handle and properties. For example, The Y-Axis limits of the plot can be modified once the ‘FFT Analyzer’ app is running with the code shown below:
GUItitle = 'FFT Analyzer';
hFFT = findall(0, 'type', 'figure', 'Name', GUItitle);
hAll = hFFT.RunningAppInstance
hAll.SignalAxes.YLim = [-600 600];
I hope the above information helps.
  댓글 수: 3
Nadia Shaik
Nadia Shaik 2023년 1월 11일
Hi Pemendra,
The 'FFT Analyzer' was introduced in MATLAB R2021a version. Can you let me know the name of the tool that you've used in versions MATLAB R2018a or R2019a?
Pemendra Kumar Pardhi
Pemendra Kumar Pardhi 2023년 1월 12일
Thanks for the counties with this query.
In the contest of my query, I am using FFT analysis for obtaining the total harmonic distortion (THDs) of any signal.
In this simulation model, before the run the model scope's 3 setting was done as follows:
double click to scope3> go into the setting> log data to workspace> variable name as SCope2
For simplicity image is attached here below
After completion of run the model
Click on powergui and follows the following process
double click on powergui > Tools > FFT Analysis
as attached image
After got the FFT analysis (i.e. THD) of the signal as attached image below, there is not an option to change the image, like inner dimension fixed, change the x-axis and y-axis limits of the graph and so on.
However, in the previous version it was exist like as attached image here (inside the green color line)
If any solution for this pls suggested
Thanks
Pemendra Kumar Pardhi

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by