Respondida
Error using ==> plot
Hi Kash, I think you need to form the complex-valued matrices out of the two DWT trees and then sum the squared magnitudes from ...

alrededor de 14 años hace | 0

| aceptada

Respondida
parameter must specify a logical value. What is a logical value?
a logical value would be x = logical(0); x = logical(1); or x = false; x = true; You do not wan...

alrededor de 14 años hace | 1

Respondida
plot equation of plane
Which plane do you want to plot? For example, your P3 equation? syms x y z = 6*x+3*y+27; ezmesh(z)

alrededor de 14 años hace | 3

| aceptada

Respondida
calculating energy of an image
You can calculate the energy as follows x = rand(64,64,16); J = 1; [Faf, Fsf] = FSfarras; [af, sf] = dualf...

alrededor de 14 años hace | 0

| aceptada

Respondida
want to plot MSE for a given error
Assume x is one vector and y is another. you can think of x as your original and y the fit. x = randn(100,1); y = randn(...

alrededor de 14 años hace | 1

| aceptada

Respondida
up sampling a wave file in MATLAB
I assume by upsampling you mean inserting zeros to increase the sampling rate and applying the interpolation filter. Have you...

alrededor de 14 años hace | 0

Respondida
How to separate matrix row?
A = [ 1 2; 1 2; 1 2]; A(:,1) = zeros(size(A,1),1); Or if you want to keep your original A B = zeros(size(A)); ...

alrededor de 14 años hace | 0

Respondida
best fit
It seems you want to summarize the 6 values in each column of the matrix. How about just using mean()? x = randn(6,83430); ...

alrededor de 14 años hace | 0

Respondida
how to get full descriptive knowledge about the demo given in matlab
Have you looked at the reference pages?

alrededor de 14 años hace | 0

Respondida
Change linespec of a line using only the figure handle.
Can't you just edit plot from the figure window, then click on the line? Or click on the object and do: hco = gco; ...

alrededor de 14 años hace | 0

Respondida
How to randomly select data out of a dataset?
One way if you have the Statistics Toolbox is to use randsample x = randn(1000,1); y = randsample(length(x),800); A...

alrededor de 14 años hace | 1

Respondida
Need help in designing a filter which removes all 1 Hz frequencies.
I answered this in your other post. If your sampling frequency is 0.0333 Hz, then you cannot resolve 1 Hz.

alrededor de 14 años hace | 0

Respondida
d = fdesign.lowpass('Fp,Fst,Ap,Ast',1,3,0.5,40,60);
d = fdesign.lowpass('Fp,Fst,Ap,Ast',1,3,0.5,40,60); # 1 is the passband frequency # 3 is the stopband frequency so the regi...

alrededor de 14 años hace | 1

| aceptada

Respondida
I want to plot PSD for my input data(meters)
Is your sampling interval in meters, or are you really saying that your measured variable is in meters? I'm assuming you jus...

alrededor de 14 años hace | 0

Respondida
User associated with a license
You should contact MathWorks for any issues related to licensing.

alrededor de 14 años hace | 0

Respondida
NEED to design a FIR LPF with cuff frequency at 1 Hz
The problem is that if you are really sampling only every 30 seconds, then you cannot accurately reproduce data at 1 Hz. If ...

alrededor de 14 años hace | 0

Respondida
Unequal p-values when using tcdf and regstats
That is because the pvalue 5.1918e-06 is for a two-tailed hypothesis test. 1-tcdf(a_regstat.tstat.t(2),13) is only giv...

alrededor de 14 años hace | 0

| aceptada

Respondida
NEED to design a FIR LPF with cuff frequency at 1 Hz
Nobody can tell you the answer to this question if you do not tell us your sampling frequency. Solve for Wn in the following ...

alrededor de 14 años hace | 0

Respondida
Need help in designing a filter which removes all 1 Hz frequencies.
There are many ways. You have not told us your sampling frequency. Let me assume it is 60-Hz. d = fdesign.lowpass('Fp,Fst,...

alrededor de 14 años hace | 0

| aceptada

Respondida
How to add 'AWGN' noise to a filtered data stream?
Use randn(). Add a vector the same size to your filtered data. Multiply the randn() vector by the standard deviation to give...

alrededor de 14 años hace | 0

Respondida
filter coefficients
The unit step should be treated in your DSP book. For a sequence, the unit step sequence is the sequence which is 1 for n>=0 ...

alrededor de 14 años hace | 1

Respondida
maths behind functions
Hi Tom, freqz.m does have an open implementation. So if you edit the M-file, freqz.m, you can see the code. The bulk of the work...

alrededor de 14 años hace | 0

| aceptada

Respondida
Normalize to unit norm
If you want to normalize a vector to have unit L2 norm. x = randn(100,1); x = x./norm(x,2); norm(x,2)

alrededor de 14 años hace | 1

| aceptada

Respondida
Error while storing matrix in a cell
Just do: imfcomponents{epoch} =IMF; For example: imfcomponents = cell(1799,1); IMF = randn(1000,5); ep...

alrededor de 14 años hace | 0

| aceptada

Respondida
discrete fourier transform by matlab
x = [10 9 1 5 0 8 4]; xdft = fft(x); plot(abs(xdft)) A better example would be something like: Fs = 1000; ...

alrededor de 14 años hace | 0

| aceptada

Respondida
How to form a periodogram?
Do you have the Signal Processing Toolbox? See periodogram >>doc periodogram If not, you can use fft()

alrededor de 14 años hace | 0

Respondida
Random noise vs. White/Gaussian noise
rand() is a MATLAB random number generator. It generates random variables that follow a uniform probability distribution. randn(...

alrededor de 14 años hace | 0

| aceptada

Respondida
Regsrding for loop with array
for nn = 1:8 if(any(A==nn)), disp('hi'); else disp('bye'); end end Obviously, replace disp('hi...

alrededor de 14 años hace | 0

| aceptada

Respondida
Error using function "gensim"
You have to specify a sample time of -1 or an integer greater than or equal to 1. For example: gensim(net,'SampleTime',2...

alrededor de 14 años hace | 1

Respondida
how to convert or import c file in matlab
See <http://www.mathworks.com/help/techdoc/matlab_external/f23224.html>

alrededor de 14 años hace | 0

| aceptada

Cargar más