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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 1

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

environ 14 ans il y a | 3

| A accepté

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 1

| A accepté

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

Réponse apportée
how to get full descriptive knowledge about the demo given in matlab
Have you looked at the reference pages?

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 1

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 1

| A accepté

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

environ 14 ans il y a | 0

Réponse apportée
User associated with a license
You should contact MathWorks for any issues related to licensing.

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 1

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 1

| A accepté

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 0

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 0

| A accepté

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

environ 14 ans il y a | 1

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

environ 14 ans il y a | 0

| A accepté

Charger plus