Réponse apportée
Create a mesh with four variables
doc ndgrid http://www.mathworks.com/help/techdoc/ref/ndgrid.html

presque 14 ans il y a | 0

| A accepté

Réponse apportée
sprintf format specifiers won't print newline
% and \ are escape characters so you need to treat them special, try sprintf('%%*<>\\n'); You can find this information ...

presque 14 ans il y a | 0

Réponse apportée
finding specific elements in a cell vector
uniqueA = unique(A); if isequal(uniqueA,{'1W'}) ... elseif isequal(uniqueA,{'1W';'2W'}) ... end

presque 14 ans il y a | 2

Réponse apportée
FFT example on MATLAB help
This is basically done to preserve the power at each frequency sample point. The original series has L samples in it. At each fr...

presque 14 ans il y a | 0

Réponse apportée
Question about latex synthax
add {} around y1(x) and y2(x), like this $$I(f)=\int_a^b \int_ {y1(x)}^{y2(x)} f(x,y) \dy \dx$$

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Solving system of nonlinear equations
Do you have Optimization Toolbox? If so, you can try fsolve http://www.mathworks.com/help/toolbox/optim/ug/fsolve.html

presque 14 ans il y a | 0

Réponse apportée
Fix the seed in Matlab R2011b | Why RandStream failed?
Do you have to set it to global stream? If not, why not generate those random numbers in form of rand(s,1,n) so you by p...

presque 14 ans il y a | 0

Réponse apportée
Indexing Tips: extend a time series to be cyclic
Not sure if it solves your question exactly but here is something that could be helpful. Say your data is 5 samples long N ...

presque 14 ans il y a | 0

Réponse apportée
How can I change contents of a string?
Is your newdata also a cell? If so, you need to access it's content via {}. In your loop definition, you probably mean length...

presque 14 ans il y a | 0

Réponse apportée
Solving 3 unkowns with 3 knowns
What you have are not linear equations so they cannot be solved in Ax=b form. You need to use a solver for nonlinear equations. ...

presque 14 ans il y a | 0

Réponse apportée
A simple question about undefined function error
You need to make sure that the function |ruzgaruretimi| are on your path. It should also expect double inputs. If it does, try t...

presque 14 ans il y a | 0

Réponse apportée
Objective Orientated Programming in Matlab
Are you referring to object oriented programming? The user's guide in MATLAB documentation can get you started. You can find tha...

presque 14 ans il y a | 0

Réponse apportée
How can I perform a linear regression analysis with the equation y=a(x-b)?
This is essentially the same as fitting y=ax+b since it can be written as y=ax+b=a(x-(-b/a)). So all you need to do is to fit y=...

presque 14 ans il y a | 0

Réponse apportée
Time delay - Cross Correlation Situation
The order basically determines which one is the reference, but you need to set your lag right. The delay between the two is basi...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Drawing a sphere inside a sphere?
You can add alpha(0.5) after you plot the first one.

presque 14 ans il y a | 2

| A accepté

Réponse apportée
How do I get the indices of non-empty cells from a cellstr array?
Here is an example x = {1,[]} find(~cellfun(@isempty,x))

presque 14 ans il y a | 3

| A accepté

Réponse apportée
how to do digital filter on this EEG data
Is your sample_rate 50K? If so, your filter is huge at the order of 1 million. This is way too long. |fir1| uses window metho...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Publishing a class definition to html
If you don't care whether the class can run or not, I think you could use the markup for highlighted code sample http://www.m...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
How to use ' bar ' plot function to plot bars with oblique line in them?
This may be helpful to you http://www.mathworks.com/matlabcentral/fileexchange/1736-hatched-fill-patterns

presque 14 ans il y a | 1

Réponse apportée
Strange If- else statement issue
There are several issues. # k(1,t) < 10 returns a vector, not a scalar # Similarly, Ca(t) is a vector. # It looks like you...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
modelling a monostatic radar
Hi Keketso, For question 1, the solution I provided is independent of the approaching direction of the input signal, if that'...

presque 14 ans il y a | 0

Réponse apportée
MATLAB code to distribute commercially
Do you have MATLAB Compiler? That could be one way to package your software as a stand alone application.

presque 14 ans il y a | 1

Réponse apportée
Elliptical filter magnitude response with order 2,3,4
see the answer in your butterworth filter question and read the following documentation help ellip

presque 14 ans il y a | 0

Réponse apportée
Magnitude response of Chebsev filter for Type1 and Type2
see my answer in the other post and read the following documentation doc cheby1 doc cheby2

presque 14 ans il y a | 0

Réponse apportée
Butterworth filter frequency response with 2nd order, 3rd order and 4th order figures
Just as an example [b1,a1] = butter(2,0.5); [b2,a2] = butter(3,0.5); fvtool(b1,a1,b2,a2)

presque 14 ans il y a | 1

Réponse apportée
Convert cell to double
Your C already contains numbers, so those cells are invalid for str2double C(~cellfun(@isnumeric,C))={nan}

presque 14 ans il y a | 0

Réponse apportée
Find pulse width and cycle & .mfile read/plot
The functions pulseperiod and dutycycle assumes that the signal is bi-level and they are statistical measurement. Therefore, wha...

presque 14 ans il y a | 0

Réponse apportée
Does Matlab use a QR or LU decomposition when solving a matrix equation?
There are actually some information regarding you question in the documentation http://www.mathworks.com/help/techdoc/ref/mrd...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
up sampling a matrix with non-zero elements.
You can use |kron| A = [1 2;3 4]; B = kron(A,ones(3))

presque 14 ans il y a | 1

Réponse apportée
Find row in matrix.
[tf, index]=ismember(A,B,'rows');

presque 14 ans il y a | 3

| A accepté

Charger plus