[Show all top banners]

jhapaliketo
Replies to this thread:

More by jhapaliketo
What people are reading
Subscribers
Subscribers
[Total Subscribers 1]

syrtyr
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 URGENT HELP-------------MATLAB
[VIEWED 6363 TIMES]
SAVE! for ease of future access.
Posted on 02-20-09 12:36 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I HAVE BEEN GIVEN A .WAV FILE(SOUND). I HAVE TO WRITE A PROGRAM IN MATLAB THAT:
1) READS THE FILE
2) DISPLAY WAVEFORM
3)COMPUTE AND DISPLAY FREQUENCY DOMAIN
 

 
Posted on 02-20-09 12:46 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

buddieee . .. do you have to do that in the course elctronics II, i mean the upper division elective . ..  we have to take matlab ... that what i took but we didnt do the wave functions that displays graph cause of limited time . . but when you open the matlab . .. just use the help button .  that gives you a lot of what you want
 
Posted on 02-20-09 12:46 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 

Last edited: 20-Feb-09 12:51 AM

 
Posted on 02-20-09 1:21 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

i need  a concrete program. i have no time to do all the researches.help please...........

 
Posted on 02-20-09 8:38 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

script or simulink program?
 
Posted on 02-20-09 9:49 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 


Here U go dude:


clear all;


close all;


clc;


% import a auio sample


[y,Fs,nbit]=wavread('your_audio.wav');


% extract left channel only


left=y(:,1);


% calculate the time scale


Ts=1/Fs;


[nsamples,c]=size(y);


tscale=0:Ts:(nsamples-1)*Ts;


%plot left and right channel in time domain


plot(tscale,left,'r');


xlabel('Time (sec)');


ylabel('Amplitude');


%compute the FFT with the proper sampling frequency


fmax=Fs;


%how many points the FFT must be computed on?


N=nsamples;


tscale=0:Ts:(N-1)*Ts;


%N=number of FFT points:


% change it and test the different resolution


fscale=linspace(0,fmax/2,floor(N/2));


spectrum=fft(left,N);


%plot the spectrum of the signal using the appropriate


% frequency scale and module of the coefficients


%plot the magnitude


figure(2);


plot(fscale,abs((spectrum(1:length(fscale)))));


xlabel('Frequency Hz')


ylabel('Module')


 
Posted on 02-20-09 9:59 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

ha ha.. I feel sorry for people coming here seeking someone to do their assignments for them. A little help/hits are fine but getting someone else to do it bothers me. You should just drop out of school if you are not prepared to spend time learning.


 
Posted on 02-20-09 12:22 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

JHAPALIKETO,


at least appreciate the work done for you


 
Posted on 02-20-09 1:14 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Dude ! somewhere in the code just write that "I have cheated in this assignment". I bet, this guy will submit as it is and he will be caught. haha
 
Posted on 02-22-09 11:22 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

madhab6, i really appreciate your help and everyone, time nabhayera maile yo thread herna bhai raheko thiyina. thanks buddy

 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 7 days
Recommended Popular Threads Controvertial Threads
I hope all the fake Nepali refugee get deported
Those who are in TPS, what’s your backup plan?
Travel Document for TPS (approved)
MAGA and all how do you feel about Trumps cabinet pick?
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters