Respondida
3d-dwt
Please explain what you mean by: _"please help me because the one in matlab help is default code that always show the same re...

más de 14 años hace | 0

Respondida
seperate elements in cell array
I'm assuming each string above is one element of the cell array. To find the SLV and put them in a cell array. X = {'GLD|...

más de 14 años hace | 0

| aceptada

Respondida
How to call m-file
How about a switch switch test case 'value1' mfile1() case 'value2' mfile2() otherwise mfile3() en...

más de 14 años hace | 1

Respondida
Error in using fir1() function
Why are you putting - signs on these: wp=-2*fp/f; ws=-2*fs/f; Take out the - signs.

más de 14 años hace | 1

| aceptada

Respondida
FREAD() help
A = [50 32 52 32 54 32 56]; B = str2num(char(A));

más de 14 años hace | 1

| aceptada

Respondida
Error While Using the butter() function for IIR Butterworth filter design
I don't see where you are using butter() at all in the code you have posted here. This is an FIR filter design. Did you copy and...

más de 14 años hace | 1

| aceptada

Respondida
calculate the mean of several columns
One way is simply with a for loop A = randn(100,112); for nn = 0:15 B(:,nn+1) = mean(A(:,nn*7+1:(nn+1)*7),2);...

más de 14 años hace | 4

| aceptada

Respondida
integer variable
Can you be more specific. You can do something like. A = int16(zeros(10,1)); but whether that is what you need depends....

más de 14 años hace | 0

| aceptada

Respondida
designing fir bandpass filter using sptool
Hi Preeti, I would just launch FDATool directly, which is what sptool does when you select "New" under filters. >>fdatool ...

más de 14 años hace | 0

Respondida
Communications Toolbox Query - How to read .txt file with Binary Data?
Hi Nathan, You can easily read that data into the MATLAB workspace and then use the Signal form Workspace block. The Signal from...

más de 14 años hace | 0

Respondida
By element average of multiple matrices
Yes, concatenate the matrices into a 3-D array and use mean(x,3) x = randn(4,4,10); mean(x,3) and std(x,[],...

más de 14 años hace | 1

| aceptada

Respondida
What are directional filter banks?
One way to implement a directionally-selective filter bank for video and images is using the dual-tree complex wavelet transform...

más de 14 años hace | 0

Respondida
How to get the number of samples of each bar in histogram?
Use the output arguments x = randn(1e3,1); N = hist(x,20); N gives you a vector of counts (frequencies) in each bin...

más de 14 años hace | 0

Respondida
Noises
Speckle noise is a multiplicative noise, where the images is multiplied element by element by a matrix of uniformly distributed ...

más de 14 años hace | 1

| aceptada

Respondida
fouriertransformation on a picture using 1D DFT
Unless I'm missing something, if you have the DFT matrix, then multiply the image matrix by that DFT matrix, then take the trans...

más de 14 años hace | 0

| aceptada

Respondida
How many positive entries in array
x = randn(1450,1); indices = find(x>0); length(indices) or count = length(nonzeros(x(x>0)));

más de 14 años hace | 3

| aceptada

Respondida
MATLAB - fft, find where it occurs in original data
You have to match the index of the maximum in the modulus of the DFT (maximum absolute value in the fft() output) with the index...

más de 14 años hace | 0

Respondida
what is the unit of x axis in the wavelet toolbox?
This x axis has the same units as the input signal in time or space. However, if you are looking at the wavelet coefficients tha...

más de 14 años hace | 0

Respondida
problems in loop with findpeaks
Hi Maria, Because you cannot expect the number of peaks in the rows of A to be the same in each row, you can use a cell array to...

más de 14 años hace | 0

| aceptada

Respondida
How to use multi-scale wavlet solve nonlinear ODEs
While wavelet methods are used more frequently in the solution of PDEs, there are number of sources you can find that show you h...

más de 14 años hace | 0

Respondida
How to design a FIR Filter
Yes, it is possible, but you will have to write a lot of code. The Signal Processing Toolbox (SPT) enables you to create these f...

más de 14 años hace | 1

| aceptada

Respondida
fft window
You cannot choose it inside of fft(). What you do is multipy the data by the window before you use fft() x = randn(1e3,1);...

más de 14 años hace | 1

Respondida
how to calculate center frequency
centfrq determines the peak frequency in Fourier transform of the wavelet which is the center frequency, then for increasing sca...

más de 14 años hace | 0

| aceptada

Respondida
figure
You mean like? r = 1; theta = 0:0.01:(2*pi); y = r.*exp(1j*theta); for nn = 1:length(theta) quiver(...

más de 14 años hace | 0

| aceptada

Respondida
Finding zeros of an equation
Steven, In this case the roots are exactly the points you are looking for. Please convince yourself: C = [3 -12 -33 80]...

más de 14 años hace | 0

Respondida
Finding zeros of an equation
C = [3 -12 -33 80]; Pzeros = roots(C); Pzeros

más de 14 años hace | 0

Respondida
Matlab cell array question
I think you were correct when you replaced the string. A{1,2}='Leicester is a nice town'; A{1,2} = true is replacing .‘Lei...

más de 14 años hace | 0

Respondida
Matlab cell array question
# (3+1j*10)*3 is not the same as (3+1j*10)^3, so I'm not sure which one you mean when you wrote "(3+i*10)3" Maybe you just forg...

más de 14 años hace | 0

Respondida
Normalizing a histogram
I'm saying that if you fit a gamma, you get an alpha and a beta parameter. You can use that to see if a chi-square is appropriat...

más de 14 años hace | 0

Respondida
Normalizing a histogram
yes, you are doing the correct thing. You can use dfittool to fit a Gamma distribution, which you can use estimate the paramete...

más de 14 años hace | 0

Cargar más