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

거의 13년 전 | 0

답변 있음
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. ...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 1

| 수락됨

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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 ...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 1

답변 있음
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)...

거의 13년 전 | 1

| 수락됨

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 1

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 1

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

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

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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 ...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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 ...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

답변 있음
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...

거의 13년 전 | 0

| 수락됨

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

거의 13년 전 | 0

| 수락됨

답변 있음
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...

거의 13년 전 | 0

| 수락됨

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

거의 13년 전 | 0

답변 있음
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. ...

거의 13년 전 | 1

| 수락됨

답변 있음
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...

거의 13년 전 | 0

| 수락됨

답변 있음
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. ...

거의 13년 전 | 0

더 보기