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

대략 13년 전 | 0

| 수락됨

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

대략 13년 전 | 1

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

대략 13년 전 | 0

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

대략 13년 전 | 0

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

대략 13년 전 | 4

| 수락됨

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

대략 13년 전 | 2

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

대략 13년 전 | 0

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

대략 13년 전 | 0

| 수락됨

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

대략 13년 전 | 0

| 수락됨

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

대략 13년 전 | 1

| 수락됨

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

대략 13년 전 | 0

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

대략 13년 전 | 0

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

대략 13년 전 | 0

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

대략 13년 전 | 0

| 수락됨

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

대략 13년 전 | 0

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

대략 13년 전 | 0

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

대략 13년 전 | 2

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

대략 13년 전 | 1

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

대략 13년 전 | 0

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

대략 13년 전 | 0

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

대략 13년 전 | 0

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

대략 13년 전 | 0

| 수락됨

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

대략 13년 전 | 3

| 수락됨

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

대략 13년 전 | 0

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

대략 13년 전 | 0

| 수락됨

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

대략 13년 전 | 1

| 수락됨

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

대략 13년 전 | 0

| 수락됨

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

대략 13년 전 | 0

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

대략 13년 전 | 0

| 수락됨

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

대략 13년 전 | 0

| 수락됨

더 보기