mscohere
hi I was using the following loop to calculate coherence for i=1:16 x=filter_Michigan_a(refe_ch,:); y=filter_Michigan_a(i,:); window=500; noverlap=0; nfft=length(x); [Cxy,f]=mscohere(x,y,window,noverlap,nfft,fq); cohere_band1(i)=max(Cxy(3:5)); ... 13 Nov 2009 16:38
help me to find time-frequency plot
Hi, I want to find time-frquency plot of a variable frequency pulse(rectangular) either by simulink or matlab. Actually i want to plot switching frequency of IGBT inverter for a special application on which i am currently working. I have generated the gate signal,just i want to see how frequency varies with time. ... 13 Nov 2009 09:54
Bandpass Filter - Simulink
Hi, I have a simple model, in that i am adding 3 sine waves of 5Hz, 10Hz and 20Hz frequencies. The resultant wave, i am passing it through a bandpass filter which has to pass only frequencies between 8-12 Hz and block rest all. But which is not happening. For the same i am using the bandpass filter block of signal ... 14 Nov 2009 00:20
how can i vectorized the triple integral
how can i vectorized the triple integral for example:one dimensional integral (quad)--->vectorized---->quadv quadv(@sd,1,2) function re=sd(a) re(1)=sin(a); re(2)=cos(a); how about the triple integral (triplequad)--->vectorized--->????? ... 12 Nov 2009 22:59
how can i vectorized the triple integral
how can i vectorized the triple integral for example:one dimensional integral (quad)--->vectorized---->quadv quadv(@sd,1,2) function re=sd(a) re(1)=sin(a); re(2)=cos(a); how about the triple integral (triplequad)--->vectorized--->????? ... 12 Nov 2009 22:59
Determining derivative and integral coefficients
% Function Description: % The function takes in the coefficients vector describing a given % polynomial curve and returns the coefficients vector of the derivative % of the curve as well as the coefficients vector of the integral of the % curve. For the integral curve, you may assume the constant term is 0.... 13 Nov 2009 02:15
integral of spline fit function
I'm trying toget the integral from 3 to 4 from a spline fit function I'm having problems with both the fit (it is not close from my points) and the integral (it doesnt work with csaps outut: an struct) Can you please help me? My code is shown below: Thanks %data points X=[0,0.7,1.5,2.3,3.1,3.9,4.6,5.4,6.2,7... 16 Nov 2009 06:50
Linear fit forcing zerointercept: How to compute confidence interval
Hi, I was using polyfit to fit a line in my data. The nice thing about doing that is that I can actually get the 95% confidence interval as well when I use the polyconf function. [p,S] = polyfit(x,y,1); [Y,DELTA] = polyconf(p,x,S); Now, I need to fit a line but force the intercept to be zero. My understanding... 12 Nov 2009 18:30
MATlab programs on FSK,qpsk,BPSK
Q.1. A Binary FSK transmission is given by: S(t)={Acos(2.pi.f.t),binary1} {Acos(2.pi.f.t),binary0} The transmission bandwidth is 100 kHz which spans from 200 to 300 kHz. (a) Develop a MATLAB program to generate the transmitted waveform. Plot ... 12 Nov 2009 16:14
Apply texture to Trisurf
Hello, Is there any way to apply a texture to a trisurf object, similiar to the MATLAB example on Texture-Mapping, Or, is there any way to convert trisurf to surface ? I have h = trisurf(ttriangles, y(:,1), y(:,2), y(:,3)) representing a human face thanks, Nunes ... 17 Nov 2009 16:18