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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 1

| akzeptiert

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 1

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

fast 13 Jahre vor | 1

| akzeptiert

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 1

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 1

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 1

| akzeptiert

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 0

Mehr laden