Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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 [...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 1

Réponse apportée
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: ...

plus de 12 ans il y a | 0

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

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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,...

plus de 12 ans il y a | 1

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
"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...

plus de 12 ans il y a | 0

Réponse apportée
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; ...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 1

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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 ...

plus de 12 ans il y a | 0

Réponse apportée
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 ...

plus de 12 ans il y a | 0

Réponse apportée
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))));...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Charger plus