Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
This is about my first experience with programming Arduino.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

708 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

15 Experts available now in Live!

Get 1:1 Help Now