답변 있음
how to find mean for the values in an image
Do you have the Image Processing Toolbox? You can use blockproc(), but I'm not sure how you are getting your expected output abo...

거의 13년 전 | 0

답변 있음
Covariance Matrix by Simulation
You have to consider that you are looking at samples from a sampling distribution of a statistic, the sample covariance. Con...

거의 13년 전 | 0

답변 있음
Basic Integration [ Integration limits ]
Is Q a constant? I'm assuming you mean that n is function of r, like n(r) Suppose n(r) = r^2 and you want to integrate from [...

거의 13년 전 | 0

답변 있음
How can I avoid error in mnrfit line 164?
The problem is that you have NaNs in every single row of your X matrix. As the documentation states: "mnrfit treats NaNs i...

거의 13년 전 | 0

| 수락됨

답변 있음
Workaround for the norminv function in statistics toolbox
You can use the inverse complementary error function. You'll have to convert from a nonstandard normal distribution, but that sh...

거의 13년 전 | 0

| 수락됨

답변 있음
2 method to calculate CCF gives wrong result
Hi, look at this example: rng default; x = randn(8,1); y = randn(8,1); npad = length(x)+length(y)-1; xcor_1 = f...

거의 13년 전 | 0

답변 있음
How to find annual amplitude and phase of time series
There are a number of ways you can try and estimate it. Do you have a priori knowledge of the frequency? If so you can use linea...

거의 13년 전 | 0

| 수락됨

답변 있음
How can I generate band-limited Gaussian white noise??
You cannot generate band-limited "white" Gaussian noise. "White" noise means that the power spectral density is flat, which cont...

거의 13년 전 | 0

| 수락됨

답변 있음
How to plot FFT(Fast fourier transform) in MATLAB of given data?
Your axis command is not correct. The frequency axis should only run to 20000 because that is the Nyquist frequency and I'm not ...

거의 13년 전 | 1

| 수락됨

답변 있음
How can I display x boxplots of x separate vectors of data side by side in the same figure ?
Put the data in a matrix with each vector a column vector and call boxplot() on the matrix. X = randn(100,4); boxplo...

거의 13년 전 | 0

답변 있음
How can i use matlab on raspberry pi
There is a support package for Simulink, is that what you are looking for? <http://www.mathworks.com/matlabcentral/fileexchan...

거의 13년 전 | 0

답변 있음
What does x(y) mean ?
I'm assuming that is just the composition of the two linear operators, in which case that is matrix multiplication. In other wor...

거의 13년 전 | 0

답변 있음
problem with filtering a signal
Fs = 250; t = 0:1/Fs:10-1/Fs; x = sin(2*pi*10*t)+sin(2*pi*20*t)+0.25*randn(size(t)); y = sosfilt(SOS,x); I...

거의 13년 전 | 1

답변 있음
problem with filtering a signal
You need to post the code you have used to design your filter. Also, include the sampling rate for your data. For example: ...

거의 13년 전 | 0

답변 있음
Can anyone help me plz ???
prompt={'Enter The Number Of Lines:'}; title='Draw Line '; n=inputdlg(prompt); A = str2num(cell2mat(n)); ...

거의 13년 전 | 0

| 수락됨

답변 있음
How to work with EEG miultiple electrode signal in matlab??
If you wish to use the DWT, you will have to work with one channel at a time. You can perform the DWT on each channel separat...

거의 13년 전 | 0

| 수락됨

답변 있음
Is 'Zero-Padding' in 'FFT' meaningful in operation IFFT(FFT * FFT) operation?
Zero-padding before taking the DFT of a signal does not improve the frequency resolution of a spectral estimate. In other words,...

거의 13년 전 | 1

답변 있음
How generating band limited white noise with matlab
That's not a very good approximation to a bandpass filter between 240 and 435 Hz. Look at your magnitude response: fvt...

거의 13년 전 | 0

| 수락됨

답변 있음
How to generate a Bernoulli distributed binary data
Do you have the Statistics Toolbox? You have to specify the parameter for the distribution, which is the probability of a "su...

거의 13년 전 | 0

답변 있음
"Which Sym" statement so the sym statement will work
The line: Gup = sym(zeros(2,2)); works. Therefore the error must be coming from somewhere else in your CoAndContraMetric...

거의 13년 전 | 0

답변 있음
How to find frequency from image of spectrogram?
If you output the vector of frequencies from spectrogram(), you will have the frequency information. t=0:0.001:2; ...

거의 13년 전 | 0

답변 있음
How generating band limited white noise with matlab
band limited white noise is not possible. White noise by definition has a flat power spectral density function. You can gener...

거의 13년 전 | 1

답변 있음
How to substitute call to imshow() with image()
I don't have any trouble with this: X = randi(256,256,'uint8'); Y = imread('cameraman.tif'); image([X Y]); axis...

거의 13년 전 | 0

답변 있음
Computing an integral inside a function
It really helps when you show what error you are getting and how you are calling the function at the command line. Give people a...

거의 13년 전 | 0

답변 있음
MATLAB CODE FOR RACIAN CDF
Do you have the Statistics Toolbox? If so see >>doc prob.RicianDistribution Also, if you have the Comms System Toolbox ...

거의 13년 전 | 0

답변 있음
I have a problem fo the function 'cdfinfo' error
The first question to ask is does the function work with the shipping example: info = cdfinfo('example.cdf'); make sure ...

거의 13년 전 | 0

답변 있음
How do I convert the x-axis of an FFT from frequency to wavelength?
This runs perfectly for me: c = 299792458; % pulse duration (T=tau) FWHM = 30e-15; T = FWHM/(2*(sqrt(log(2))));...

거의 13년 전 | 0

| 수락됨

답변 있음
How do I convert the x-axis of an FFT from frequency to wavelength?
E_t = exp((-t.^2/(2*T.^2)) + (i*w0*t-(1/2)*i*eta*t.^2)); Edft = fftshift(fft(E_t)); dt = t(2)-t(1); Fs = 1/dt; df = Fs...

거의 13년 전 | 0

답변 있음
size(m,2) how the function works?
m=[1,2,3; 4 4 4; 3 3 1]; n = size(m,2); returns n = 3 I suspect that you have a different function called size() that p...

거의 13년 전 | 0

답변 있음
frequency-time of EMG
If I just substitute a vector of random noise the same size as your input Fs = 800; x = randn(841700,1); window = 100...

거의 13년 전 | 0

더 보기