Réponse apportée
Grouping of like Magnitudes
Do you have the Signal Processing Toolbox? Have you seen this function: <https://www.mathworks.com/help/signal/ref/statelevel...

plus de 12 ans il y a | 0

Réponse apportée
What does this error mean?
It looks like your I1 is not a scalar or a 1x2 vector. Can you set a breakpoint at line 49 in ImageStore and say what I1 is. ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Why FFT function returns amplitude divided by 2 ?
Because the discrete Fourier transform matches the input signal with complex exponentials and a cosine is the sum of two complex...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
From where can i read about the functioning of the wvtool??
Hi, wvtool does the following: *frequency response* -- this is calculated using the function freqz() For example: w...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
I could not understand the process of dividing two not square matrices....
Read the help for mldivide. That will explain to you in detail what x/y means. Not that the above operation is actually ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Error in my code.....
This: v = I(i,j); h(v)=h(v)+1; If an element of I is zero, which is quite possible because I is a gray-scale image, t...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
why wavelet doesn't show accurate results always?
Wavelets have bandwidth, they are not like the complex exponentials of Fourier analysis. The larger the scale, the narrow the ba...

plus de 12 ans il y a | 1

Réponse apportée
why wavelet doesn't show accurate results always?
I'm not quite sure why you say this: t=linspace(0,30,300); Fs=ceil(inv(t(2)-t(1))); x=sin(2*pi*t*0.1).*(t<10)...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
function x=solv(a,b) while round((a*x-1)/b)~=(a*x-1)/b x=x+1; end this function is showing error while running: ??? Undefined function or method 'solv' for input arguments of type 'double'. please help me to solve this problem..
The error message your getting is because solv.m is not in a folder (directory) on the MATLAB path. Let's say that you have y...

plus de 12 ans il y a | 0

Réponse apportée
Calling Matlab from C++
If you want the results in the MATLAB workspace, why not create a MEX file with your C++ code? <http://www.mathworks.com/help...

plus de 12 ans il y a | 0

Réponse apportée
Can't get a STABLE highpass filter with a 0.01 Hz cutoff frequency
I can get a stable highpass design with the following d = fdesign.highpass('Fst,Fp,Ast,Ap',0.1,0.2,40,1,4000); Hd = design...

plus de 12 ans il y a | 1

Réponse apportée
Calculating Kendall's tau
Hi Anna, 'Kendall' is not an option of corrcoef(). It is an option for the function corr(), which is part of the Statistics Tool...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Hi, I am trying to use grpstats on my program and trying to compute median and percentile and skew but somehow i am not getting the program to run.
Hi Rishav, WeekNum should be your grouping variable for the observations in Z so I'm not sure why you are including WeekNum in t...

plus de 12 ans il y a | 1

Réponse apportée
What algorithm is used by refinemesh.m?
Hi Carolyn, the function reference does not have a reference listed but it does have an algorithm description: <https://www.m...

plus de 12 ans il y a | 0

Réponse apportée
where nsctdec function is defined?
If you have downloaded an M-file, then you need to add the folder (directory) in which that M-file lives to the MATLAB path, oth...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
how can I normalizd ecg spectrum frequency?
If you have the Signal Processing Toolbox, just use periodogram without specifying the sampling frequency and you'll get normali...

plus de 12 ans il y a | 0

Réponse apportée
Wrong numerical values from compute_curvature() ?
compute_curvature is not a MathWorks' function. Have you thought about mailing Gabriel Peyre who provided it to the file exchang...

plus de 12 ans il y a | 0

Réponse apportée
mod gives incorrect result
If anybody's interested in this, google: "division and modulus for computer scientists" mod() is implementing what Knuth t...

plus de 12 ans il y a | 0

Réponse apportée
mod gives incorrect result
Are you sure you're not confusing mod() with rem()? If you read the help for mod(), it says that mod(x,y) returns x-floo...

plus de 12 ans il y a | 0

Réponse apportée
Different results interchanging fftshift and unwrap
Hi Bruce, unwrap() works on the vector in order from the 1st element to the last. It stands to reason if you use fftshift first ...

plus de 12 ans il y a | 0

Réponse apportée
How to put limit on coefficient produced by polyfit in MATLAB?
There are routines on the file exchange like this one: <http://www.mathworks.com/matlabcentral/fileexchange/38926-fit-polynom...

plus de 12 ans il y a | 0

Réponse apportée
How to split EEG signal into different chunks?
x = randn(9600,1); len = 9600/4; x1 = reshape(x,len,4); x1 is a matrix with 4 columns, each one is 9600/4 samples ...

plus de 12 ans il y a | 0

Réponse apportée
Converting to dBm from pwelch function
Since 1 milliwatt is 0 dBm, you can do the following: 10*log10(1e3*Pxx) from the above, you see that a power of 1 milliwa...

plus de 12 ans il y a | 0

Réponse apportée
How to export coefficients automatically when using rstool?
Hi, you can just use regstats() stats = regstats(Y,X,'purequadratic'); stats.beta The beta field of the structure a...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Has the bandpass filter function changed recently?
Hi, the following code should work: Order = 4; F3dB1 = 5; F3dB2 = 450; Fs = 2000; d = fdesign.bandpas...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Suggestions for quantifying spectral leakage
"But then I realised this wouldn't work as if there was a 1MHz bin, there wouldn't be any spectral leakage." The above statem...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Confidence intervals around trend
Do you have the Statistics Toolbox? One way: load carsmall; X = ones(length(Horsepower),2); X(:,2) = Horsepo...

plus de 12 ans il y a | 0

Réponse apportée
test for equality not working 8.0.0.783 (R2012b)
This is the well-known and often responded to in this forum (and others) problem of trying to compare floating point numbers. ...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
please explainn this and guide me to develope the code
You can do the following [Pxx,F] = pwelch(SSSS,hanning(128),0,128,1/15); The syntax you are using above is: [P...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Cross Spectra and Coherence
You can compute the cross-spectrum and magnitude-squared coherence with cpsd.m and mscohere.m in the Signal Processing Toolbox. ...

plus de 12 ans il y a | 0

Charger plus