Solved

How do i write in matlab an application which create a window like this

Posted on 2009-04-06
3
549 Views
Last Modified: 2013-11-25
write in matlab an application which create a window like this


------------------------------------------------------------------
|            |            |
|            |            |
|            |            |
|  wav file                           | FFT(wav file)                    |
|            |            |
|            |            |
|            |            |
------------------------------------------------------------------

      LOAD            EXIT



havin 2 buttons: load and exit

load: open a wave file and plot to the left side of the window the wav file and to the right side its fft (file)
fft= fast fourier transform
0
Comment
Question by:bmw240smt
3 Comments
 
LVL 15

Accepted Solution

by:
yuk99 earned 250 total points
ID: 24082025
Looks like a homework? You know we cannot give you the completed m-code. Just a few hints.

Try first to read wav file. Use wavread('filename') in Matlab. You can browse for a file with uigetfile function. Then Plot the result with plot function.
Do FFT transformatino with FFT function. Plot it.
You can combine 2 plots on the same figure with
subplot(1,2,1)
wav plot
subplot(1,2,2)
fft plot

Once you master this you can use GUIDE to create a GUI in Matlab with 2 buttons and axis.
0
 
LVL 9

Assisted Solution

by:masheik
masheik earned 250 total points
ID: 24084232
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an explanation of a simple data model to help parse a JSON feed
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question