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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 20

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 2

| accettato

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

Risposto
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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

Carica altro