Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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|...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
How to call m-file
How about a switch switch test case 'value1' mfile1() case 'value2' mfile2() otherwise mfile3() en...

plus de 14 ans il y a | 1

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

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
FREAD() help
A = [50 32 52 32 54 32 56]; B = str2num(char(A));

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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);...

plus de 14 ans il y a | 4

| A accepté

Réponse apportée
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....

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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,[],...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
Noises
Speckle noise is a multiplicative noise, where the images is multiplied element by element by a matrix of uniformly distributed ...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
How many positive entries in array
x = randn(1450,1); indices = find(x>0); length(indices) or count = length(nonzeros(x(x>0)));

plus de 14 ans il y a | 3

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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);...

plus de 14 ans il y a | 1

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

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

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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]...

plus de 14 ans il y a | 0

Réponse apportée
Finding zeros of an equation
C = [3 -12 -33 80]; Pzeros = roots(C); Pzeros

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Charger plus