Réponse apportée
using a function that is similar to polyfit but with two linear terms
Locks, it seems like you are interested in multiple linear regression. If you have the stats toolbox you can use the <http://www...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How does MATLAB software (ode solvers) solve complex differential equations?
http://www.mathworks.com/support/solutions/en/data/1-15I1T/index.html The short answer is that it will treat it as it is: sum...

environ 13 ans il y a | 0

Réponse apportée
Loop for function variable
I am going to refer you back to the article you mentioned because the simple answer to your question is: don't do it. http://...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
additive white gaussian in matlab
There are a lot of functions you can use to do that, depends on what toolbox you have and how you want to specify the nature of ...

environ 13 ans il y a | 0

Réponse apportée
How to use Principal Component Analysis to reduce feature vector size?
Use PCARES function to do that: [residuals,reconstructed] = pcares(X,ndim) The 'reconstructed' will have the reduced dim...

environ 13 ans il y a | 0

Réponse apportée
How to get eigen vectors from the function princomp?
From: http://www.mathworks.com/help/stats/princomp.html [COEFF,SCORE,latent] = princomp(X) The 'COEFF' are the eigen ...

environ 13 ans il y a | 0

Réponse apportée
How to fit the data using Weibull curve and find the slope (gradient)?
You can do this in a variety of ways depending on what toolbox you have. This should help you get started: http://www.mathwor...

environ 13 ans il y a | 0

Réponse apportée
How to plot the line of best fit?
What do you mean when you say it is not working? Do you get an error? D = [0 4 8 12 16 20 24 28 32]; F = [0 .23 .36 .4...

environ 13 ans il y a | 20

| A accepté

Réponse apportée
Problem with Argument and fsolve
Satendra, arg is not a function in MATLAB but you the function 'angle' computes the argument of the complex number which I belie...

environ 13 ans il y a | 0

Réponse apportée
distortion of Y axis
PLOTYY lets you have 2 Y axes: http://www.mathworks.com/help/matlab/ref/plotyy.html

environ 13 ans il y a | 0

Réponse apportée
Numerical integration with array limits
Christopher, I can't run the loop as well. But phi([1,2,3,4]) will certainly not work because the vector is being passed to quad...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Finding coefficients and constant for multivariable linear equation.
Shelley, to find a non-trivial solution you have to find the null space of your data matrix. You data matrix with a column of...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Understanding the parameters in PRINCOMP
What you explain is correct. SCORES are just projection of your data onto the principal components (the new basis/axis that maxi...

environ 13 ans il y a | 2

| A accepté

Réponse apportée
bode plot of 1/(s^0.5+1) or any other fractional order transfer function
I don't think this is possible with what ships with MATLAB (i may be wrong). But I found a FEX function that does what you ask:...

environ 13 ans il y a | 1

Réponse apportée
solving linear equations using matrices in MATLAB
What you see on the command line may not be all of the data to the last precision. Try >> format longg And then run ...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
what does eigenvalues expres in the covariance matrix?
Essentially what you are describing are the principal components of your data. <https://en.wikipedia.org/wiki/Principal_compo...

environ 13 ans il y a | 0

Réponse apportée
modelling an ANN with lots of Output Variabels
The documentation page has lot of examples on how to go about doing the same. Assuming you have the Neural Network Toolbox ht...

environ 13 ans il y a | 0

Réponse apportée
How to make/create a fitness/objective function for GA problem
I would start with the documentation to see how to write your own objective/fitness function in MATLAB. This is however a step t...

plus de 13 ans il y a | 0

Réponse apportée
which is more accurate/good/feasible 'optimtool' or a same function involked in command window?
You should get the exact same result if you call it in command line or through the GUI, they use the same functions. There could...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
The error beep: Why is Mathworks ignoring an obvious, easily fixed issue
Hi Stefan, if you are unhappy about a feature or have suggestions on enhancements, MathWorks is always eager to hear about them....

plus de 13 ans il y a | 0

Réponse apportée
Are my variables sliced?
Sam, you've probably already went through this page, but I will paste it here anyway: http://www.mathworks.com/help/coder/ug/...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
What is the difference between polyfit and curve fitting
I would encourage you to look at the documentation page of the functions you are you using to get a better idea of what each fun...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Why are sine and cosine values inaccurate?
pi itself is an approximation. I would point you to this solutions page for some more insight to this behavior: http://www.m...

plus de 13 ans il y a | 1

Réponse apportée
How can I simulate a NARX neural network after being trained and tested?
If your trained network object is 'net' then you can say net(A) You can use SIM and it has the following input arguments...

plus de 13 ans il y a | 0

Réponse apportée
Gaussian Elimination or LU
determinant of A is zero, there can be infinite solutions. One of the infinitely many solutions is the following: x = pi...

plus de 13 ans il y a | 0

Réponse apportée
Why does comparing identical doubles result in a logical 0?
If you want to see how they are different, try: >> format hex >> v(2),2000 change display format back to default ...

plus de 13 ans il y a | 0

Réponse apportée
Script for curve fitting
'Generate code' usually returns a function and not a scrip. Is it possible that you are not calling the function with the right ...

plus de 13 ans il y a | 0

Réponse apportée
Is there a way to query toolbox usage?
I can't think of something that does this automatically, but I can suggest the following. license('inuse') Will give you...

plus de 13 ans il y a | 0

Réponse apportée
Is there framework available for LQG controller in simulink or matlab ?
It is indeed. Its available in the Control Systems Toolbox: http://www.mathworks.com/help/control/ref/lqg.html

plus de 13 ans il y a | 0

Réponse apportée
How to download the "xcorr" inbuilt function
Its fairly easy to implement, or you can definitely find something on FEX that will work for you: http://www.mathworks.com/ma...

plus de 13 ans il y a | 0

Charger plus