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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 20

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 2

| aceptada

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

casi 13 años hace | 1

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 1

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

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

casi 13 años hace | 0

Respondida
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

casi 13 años hace | 0

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

casi 13 años hace | 0

Cargar más