[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 6327 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
TPS Re-registration case still pending ..
ChatSansar.com Naya Nepal Chat
Toilet paper or water?
TPS EAD auto extended to June 2025 or just TPS?
Biden out, Trump next president, so what’s gonna happen to TPS, termination?
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
Tourist Visa - Seeking Suggestions and Guidance
From Trump “I will revoke TPS, and deport them back to their country.”
I hope all the fake Nepali refugee get deported
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
advanced parole
TPS Renewal Reregistration
Sajha Poll: Who is your favorite Nepali actress?
Biden said he will issue new Employment visa for someone with college degree and job offers
Why Americans reverse park?
Nepali Passport Renew
Driver license help ASAP sathiharu
They are openly permitting undocumented immigrants to participate in federal elections in Arizona now.
ढ्याउ गर्दा दसैँको खसी गनाउच
To Sajha admin
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