[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 9112 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 200 days
Recommended Popular Threads Controvertial Threads
NRN card pros and cons?
ANA and AJAY KUMAR DEV. RAPISTS CONVENTION
TPS To F-1 COS
TPS to F1 Status.
legal Query for married nepali girl now have taken US citizenship
Got my F1 reinstatement approved within 3 months(was out of F1 for almost 2 years)
2020 : Why No Trump !
#MAGA#FAFO is delicious
Democrat lies revealed
TPS Sakiyo Tara Case is in Court.
Medication from Nepal to USA
Business Ideas in Nepal?
Nepal Likely to Get 60-Day TPS Notice
Nepal TPS Hearing: 9 Room, 19 Floor, 29 July
मुद्दा हाल्छन होला र ?
TPS cancel bho bhane k garne?
BREAKING: FEDERAL JUDGE ORDERS TRUMP ADMINISTRATION TO DELAY TERMINATION OF TPS HUMANITARIAN PROTECTION FOR 60,000 TPS HOLDERS WHO HAVE LIVED IN THE US FOR YEARS
NEPAL TPS IS GONE
Trump’s “Big Beautiful Bill” is straight-up xenophobic class warfare. Let’s call it what it is.
Leave messages on US congressman's facebook to support TPS
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