transforming time domain to frequency domain FFT using GUI

Hello everyone, wish you guys could help by explaining on how to transform time domain signal to frequency domain using FFT with Matlab GUI. Currently im doing a project which has to detect faults signature on the control valve. My hardware setup included AE sensor>preamp>postamp>DAQ>MATLAB GUI.I have to analyze the signals in time domain and frequency domain but have no ideas if using GUI.please guide me into this. Thank you in advance for your help.

 Accepted Answer

There are two separate parts to this, and I think the first thing you need to do is identify where your problems lie. Could you do the analysis without a GUI, using a straightforward script?
If not, then you probably need to work out how to do that before you start thinking about your GUI. Start by looking at all the documentation and demos for the FFT function, and figure out how to apply it to your signal. Turn your analysis program into functions with well-defined documented interfaces.
If you can write a program to do the analysis, then you could tackle building a GUI to provide a user interface. Decide what you want it to look like first - what buttons, what displays etc. Again, look at existing demos and examples from the documentation and start building it. If you can find an example that's close to what you want, modify it.
Once you've got the GUI layout organised, put the two parts together - call the analysis functions from the GUI callbacks and you'll have a working system.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!