Solved

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

Posted on 2009-04-06
3
536 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now