Beantwortet
how to convert two one dimensional arrays into one two dimenstional array
A = ones(20,1); B = ones(20,1); C = [A B];

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 1

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 4

| akzeptiert

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

etwa 13 Jahre vor | 2

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
The difference between semicolon and comma
x = [1,2,3]; creates a 1x3 row vector. x = [1;2;3]; creates a 3x1 column vector

etwa 13 Jahre vor | 1

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 2

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

etwa 13 Jahre vor | 1

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 3

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 1

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

Mehr laden