Solved

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

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

831 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