フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

function call mistake while fft calculation

1 回表示 (過去 30 日間)
Mehmet
Mehmet 2014 年 10 月 30 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello, I am calculating harmonics, THD etc. for plotted signals. I defined a button which calls a function to calculate some parameters. This function callss another one to calcualte fft and related things.
I defiend my button like this: pb1 = uicontrol('Style','pushbutton','String','plot FFT','Callback','plot_fft(x,ASM_6ph_voltages.signals.values(:,7),max_step,f_fundamental)'); Here x is defined as time vector.
Then in plot_fft function it calculates some parameters and calls the fft_synth function.
If I push the button on the graph it doesn't work. But when I start the plot_fft function in command window, it works.
What may be the reason? Thank you very much in advance.
  1 件のコメント
Rick Rosson
Rick Rosson 2014 年 10 月 30 日
Impossible to answer without seeing your code. Please post your code so that we can see your code. Thanks.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by