Respondida
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...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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 [...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

| aceptada

Respondida
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...

alrededor de 13 años hace | 0

| aceptada

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

| aceptada

Respondida
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...

alrededor de 13 años hace | 0

| aceptada

Respondida
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 ...

alrededor de 13 años hace | 1

| aceptada

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 1

Respondida
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: ...

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 0

| aceptada

Respondida
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...

alrededor de 13 años hace | 0

| aceptada

Respondida
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,...

alrededor de 13 años hace | 1

Respondida
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...

alrededor de 13 años hace | 0

| aceptada

Respondida
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...

alrededor de 13 años hace | 0

Respondida
"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...

alrededor de 13 años hace | 0

Respondida
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; ...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 1

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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 ...

alrededor de 13 años hace | 0

Respondida
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 ...

alrededor de 13 años hace | 0

Respondida
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))));...

alrededor de 13 años hace | 0

| aceptada

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

Respondida
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...

alrededor de 13 años hace | 0

Cargar más