Beantwortet
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...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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://...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
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 ...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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 ...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 20

| akzeptiert

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
distortion of Y axis
PLOTYY lets you have 2 Y axes: http://www.mathworks.com/help/matlab/ref/plotyy.html

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 13 Jahre vor | 2

| akzeptiert

Beantwortet
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:...

fast 13 Jahre vor | 1

Beantwortet
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 ...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
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....

fast 13 Jahre vor | 0

Beantwortet
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/...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 13 Jahre vor | 1

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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 ...

fast 13 Jahre vor | 0

Beantwortet
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 ...

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

Beantwortet
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

fast 13 Jahre vor | 0

Beantwortet
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...

fast 13 Jahre vor | 0

Mehr laden