Réponse apportée
How can I loop an array from the end to the beginning, with a while loop?
ii = length(array); while (ii>0) disp(array{ii}); ii = ii-1; end

presque 14 ans il y a | 0

Réponse apportée
finding duplicate number and adjacent row value
[~,iv] = unique(v(:,1),'stable'); vnew = v(iv,:);

presque 14 ans il y a | 0

Réponse apportée
Plotting multiple line on Matlab but only last plot showed
Hold the plot on: Ia = 1.5; Ib = 1; C = 2; R = 10; tau = R*C; tstop = 200; % ms V_inf = Ia*R; h = 5; V1 = 0;...

presque 14 ans il y a | 0

Réponse apportée
how to calculate time lag in two signal using cross correlation
You have to keep in mind: 1.) xcorr is returning negative lags as well as positive, but for real-valued inputs the cross-corr...

presque 14 ans il y a | 1

Réponse apportée
Finding more than one solution for Matrix Multiplication (Ax = b)
For example: A = [1 2; 1 2]; b = [3 3]'; x = pinv(A)*b; % one solution A*x % the nullspace of A has dimension 1. So ...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
Finding more than one solution for Matrix Multiplication (Ax = b)
Yes, you can use null() to find a vector from the null space

presque 14 ans il y a | 0

Réponse apportée
Surface of a equation
I think you meant to square r in your equation, and you cannot have a value between -1.5 and 1.5 if the radius is 1. The radius ...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
How can I remove the discontinuity in concatenation of wav arrays?
How big is the discontinuity? I'm assuming the two waveforms are both essentially zero-mean waveforms. If not, you'll want to sh...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
why my cdf does not match cumsum(pdf)
It does not appear to me that you are approximating the Riemann sum of the integral of the PDF correctly here. x = 0:0.01:1...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
How can i MakeNoise to the dataset dataset
Do you have the Image Processing Toolbox? If so, see the help for imnoise

presque 14 ans il y a | 1

Réponse apportée
Problem Using User Input with Function Handle
One thing you can use is str2func g = input('Request a Function of (x): ','s'); % assume user inputs cos f = str2f...

presque 14 ans il y a | 0

Réponse apportée
How can i MakeNoise to the dataset dataset
MakeNoise.m is not a MathWorks' function, but there are many ways to add noise to a signal or image using MathWorks' functions. ...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Obtaining same values at avery simulation using rand function
I think you should use the newer rng rng default; x = randn(100,1); rng default y = randn(100,1); max...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
3D graph F(x y z)
Hi Lex, you haven't told us what L2 or L3 is here, but you have a few issues. First L = (3/2).*(1E-10); 0:L/50 Wh...

presque 14 ans il y a | 0

Réponse apportée
Setting different values to properties in subplots generated by a function in a plot
Why can't you use handles or calls to the plot functions to do that?

presque 14 ans il y a | 0

Réponse apportée
UndefindedFunction error in compiled Console Application regarding Wavelet
Do you get the same problem if you use cwt() instead of cwtext() cwd = cwt(sig,3,'mexh');

presque 14 ans il y a | 0

Réponse apportée
Change dimension of a matrix
You cannot because the number of elements will change. 131072 is not equal to 256^2 so what are you going to do with all the lef...

presque 14 ans il y a | 0

Réponse apportée
Magic and Trace Function
That's because the functional form you are using when you enter >>trace A is executing >>trace('A') and in this ...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
How to coup with matrix dimension?
a = randn(200,2); c = a'*a; You can just use cov() a = randn(200,2); y = cov(a); The equivalence can be made ...

presque 14 ans il y a | 0

Réponse apportée
Convolution of two independent normally distributed random variables
Hi, you are confusing things here a bit. You don't want to consider the mean and standard deviations of the PDFs. You want to co...

presque 14 ans il y a | 2

Réponse apportée
Error using rtwintgt-setup
I'm guessing you just need a space between rtwintgt and -setup rtwintgt -setup

presque 14 ans il y a | 1

Réponse apportée
Could someone explain below code
Without more context it's hard to say exactly what it's for, but it is simply replacing the jj-th row of mnn with the jj-1 row a...

presque 14 ans il y a | 0

Réponse apportée
does arrayfun support named functions on GPU?
<http://www.mathworks.com/help/distcomp/using-gpuarray.html#bsloua3-1> I can't test this at the moment, but I'm guessing yo...

presque 14 ans il y a | 0

Réponse apportée
this should be easy I have a while loop that is infinite
If want you create a vector with a while loop (again not sure why you want to do that), there are many ways to code it. c...

presque 14 ans il y a | 0

Réponse apportée
this should be easy I have a while loop that is infinite
Why do you need a while loop here? If you just want a vector running from 1 to 99 in increments of 2, the following does the job...

presque 14 ans il y a | 0

Réponse apportée
DWT lossless or lossy compression??
Just by itself, the DWT is lossless, because you can simply invert the transform. However, if you are really going to compress t...

presque 14 ans il y a | 0

Réponse apportée
Did you ever see '~' symbol at return value of function?
~ means to suppress an output argument. so [~,zz] = func_add_minus(1,2); means that you only want to return the 2nd ...

presque 14 ans il y a | 2

Réponse apportée
Is this the correct way to write the filter equation of a df2sos filter ?
You can use sos2tf to obtain the numerator and denominator coefficients from the second-order section matrix and the vector of g...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
Encoding the signal with 16 bits
Have you tried using the 'native' option when you read the data. [f,Fs] = wavread('wolf.wav','native'); class(f) ...

presque 14 ans il y a | 0

Réponse apportée
How do I import toolboxes into my library?
When you say toolbox, how complicated is the structure of the toolbox? Is it just a single folder with a number of M-files, or a...

presque 14 ans il y a | 0

Charger plus