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

casi 13 años hace | 0

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 1

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 1

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 1

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

casi 13 años hace | 0

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

Cargar más