Réponse apportée
how to convert two one dimensional arrays into one two dimenstional array
A = ones(20,1); B = ones(20,1); C = [A B];

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How to delete rows where one element is forced to meet some criteria off of a 2xn array
I'll make up some data and show you (there are many ways to do this) A = ones(20,2); A(:,2) = randi([0 10],20,1); A(:,1)...

presque 13 ans il y a | 1

Réponse apportée
how to perform integerr to integer wavelet transform on a image
You should tell us more about your image. What is it's size and class? Does the following work for you? It should. lif...

presque 13 ans il y a | 0

Réponse apportée
Neeed help on low pass filter designing ?
What problem are you having. What error message are you getting? Fs = 1000; fp = 100; fst = 150; M = 30; h...

presque 13 ans il y a | 0

Réponse apportée
Mean square error of two matrices
Do you have the Wavelet Toolbox? If so, you can use measerr(), otherwise, suppose your original matrix is X and your approximati...

presque 13 ans il y a | 4

| A accepté

Réponse apportée
How to represent digital signal?
how about just using stem()? sig = randi([0 1],20,1); stem(sig,'markerfacecolor',[0 0 1])

presque 13 ans il y a | 2

Réponse apportée
what is the function of W, Nsig and Ssig in this program?
W is simply the dual-tree wavelet transform. Nsig is the "universal threshold" for wavelet denoising based on the level-1 det...

presque 13 ans il y a | 0

Réponse apportée
What is the function of AntonB in this program?
AntonB is a function that returns the scaling and wavelet filters that are used in the dual tree wavelet transform.

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How to get the index from a matirx
A = randn(10,10); B = A(3:6,:); [C,IA,IB] = intersect(A,B,'rows','stable'); IA gives you the row indices in A wher...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
The difference between semicolon and comma
x = [1,2,3]; creates a 1x3 row vector. x = [1;2;3]; creates a 3x1 column vector

presque 13 ans il y a | 1

| A accepté

Réponse apportée
in my project i am using discrete haar wavelet transform decomposition on image. in that LL,LH,HL,HH subband represents what? and frequency range of each is what?and uses
In the 2-D DWT, the filters are "essentially" halfband filters about the quadrature frequency of pi/2 radians/sample, or 1/4 cyc...

presque 13 ans il y a | 0

Réponse apportée
How to open a .wav file from matlab using a string name?
Can you say what error you are getting? I'm not sure why you have the following filename=[sr,'.wav']; [VoiceTrgt fsTrgt]=w...

presque 13 ans il y a | 0

Réponse apportée
Error using ==> mtimes Inner matrix dimensions must agree.
What are the sizes of DCT and FBE? This error is simply telling you that your matrices are not conformable for multiplication li...

presque 13 ans il y a | 0

Réponse apportée
How to apply windowing technique in frequency Domine using Convolution Technique
Like this: x = randn(8,1); win = hamming(8); y = x.*win; ydft = fft(y); Now compare ydft to the following: N...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
how do i create a recursive function that gives the number of digits in an integer? i.e. does the same that length function does in MATLAB
Why recursive? A = 12; B = 1000; length(num2str(A)) length(num2str(B))

presque 13 ans il y a | 0

Réponse apportée
fft of a signal
You have to create a meaningful frequency vector to go along with your Fourier transform. The spacing for the DFT (discrete F...

presque 13 ans il y a | 0

Réponse apportée
How to do FT Time shift and Time scaling properties
They agree if you get the delay right. You're not delaying the signal by 2. You're trying to delay the signal by two samples, bu...

presque 13 ans il y a | 2

Réponse apportée
How to convert 'C' language code into Matlab??
You can either simply rewrite the algorithm in MATLAB, or create a MEX file and call the C code from MATLAB. <https://www.mat...

presque 13 ans il y a | 1

Réponse apportée
please i need a function for Independent component Analysis (FASTICA)
If you search the web, you can find that MATLAB software <http://research.ics.aalto.fi/ica/fastica/>

presque 13 ans il y a | 0

Réponse apportée
why is wavwrite clipping my data
the values in your sine wave likely exceed [-1, 1] or come so close to [-1, 1] that they are 1 for all intents and purposes. The...

presque 13 ans il y a | 0

Réponse apportée
error message when using dwt3
I think Walter's comment above is right on. dwt3.m should work if you have the Wavelet Toolbox and a version of MATLAB after dwt...

presque 13 ans il y a | 0

Réponse apportée
How do i remove rows from a column based on the value of a corresponding column?
Assume X is your data matrix, Xnew = X(X(:,1)>120,:); So for example: X = randi(10,10,2); Xnew = X(X(:,1)>6,...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How to do FT Time shift and Time scaling properties
t=0:0.001:0.1-0.001; Fs = 1e3; freq1 = 100; x1=cos(2*pi*freq1*t); Delay=2; yp = fft(x1); yp = yp(1:length(x1)/2+1);...

presque 13 ans il y a | 3

| A accepté

Réponse apportée
How to do FT Time shift and Time scaling properties
n = 0:159; x = cos(pi/4*n); y = cos(pi/4*(n-2)); xdft = fft(x); ydft = fft(y); xdft(21) ydft(21) Note that 80+i0...

presque 13 ans il y a | 0

Réponse apportée
create two matrices from a larger matrix
Just do: X = randn(40,99226); harmA = X(1:2:end,:); harmB = X(2:2:end,:); MATLAB is generally really good at handl...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Communication Toolbox for students
Hi Sarah, The Communications System Toolbox is available as an add-on product for the student version: <http://www.mathworks....

presque 13 ans il y a | 1

| A accepté

Réponse apportée
Help with pwelch function (windowing)
You are essentially correct, but a few points here: pwelch() is used for overlapped segment averaging. Here you have a data v...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Matrix to Vector every two rows
B = reshape(test2',12,1); I think you may have made a mistake in your example since the last two elements are 0 and 0.008...

presque 13 ans il y a | 0

Réponse apportée
Can anyone help me using Matlab code Generation?.
You do have MATLAB Coder right? You need the MATLAB Coder product installed. Assuming that, have you tried a simple function for...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
how to extract a value from a sum in MATLAB
Do you always know the position of the terms you want to extract? Presumably, you have a vector in MATLAB and you are summing th...

presque 13 ans il y a | 0

| A accepté

Charger plus