Answered
what is the best strategy/toolbox to filter out / smoothen random large spikes on data.
This is not a MATLAB question, since there is no such "best" tool that will solve your problems. You don't have isolated spi...

10 years ago | 0

Answered
How I plot my equation of that matlab problem
You plotted it with no problem. LOOK AT THE NUMBERS THAT YOU PRODUCED! Think about what you are doing. Never just string toge...

10 years ago | 0

Answered
Set working precision in Matlab
Hmm. It looks like the problem is not in VPA, but in your understanding of how MATLAB works under the hood, and of floating poin...

10 years ago | 0

Answered
How can i use the roots function to show that all the roots of a complex number lie on a circle.
Well, you did make an effort. Something we see too little of from students lately. :) You want to find the 4 roots of a compl...

10 years ago | 1

| accepted

Answered
How to get regression equation from nntool in Matlab?
Much like a spline, nntool does not give you an "equation" that you can simply write down. I said simply, because in theory, you...

10 years ago | 0

Answered
How to extract contour line from regular grid data?
You can get it directly from contourc, which won't generate a plot. Read the help to understand the format of the contour line, ...

10 years ago | 0

Answered
Why does Jordan function take so long?
Jordan works on the matrix in symbolic form. You cannot possibly expect a symbolic solution to operate as fast as an operation c...

10 years ago | 0

| accepted

Answered
How can i combine several matrix elements in one?
You cannot have a number that has a leading zero. However, nothing stops you from converting this array to characters. Then a...

10 years ago | 0

Answered
Limit of a symbolic expression
You want to do this: limit(N,norm(x),0) norm(x) is NOT a symbolic variable. It is a construct that contains symbolic var...

10 years ago | 1

| accepted

Answered
Help with root finding methods?
a + b = 21.2 (a+sqrt(a))*(b+sqrt(b)) = 170.3 So, if we take the first equation, eliminating a as 21.2-b, then we get the...

10 years ago | 0

| accepted

Answered
curve fitting form pic with multiple similar curves?
MATLAB does not do magic. This will not be so trivial as you hope. You need to 0. Choose some model form for those curves. Yo...

10 years ago | 1

Answered
Defining all solutions of this problem
Simply not possible. You have FOUR unknowns, i.e., the four unknown elements of the 2x2 matrix x. You have TWO scalar valu...

10 years ago | 1

Answered
how can i make an objective function for optimization tool box. i need to optimise an equation having two independent variables with the form y=f(x,z). i have about 100 data points for y,x and z.
Why do you need an objective function? Use lsqnonlin or lsqcurvefit. Presuming that a(x) actually means a*x, (please, learn t...

10 years ago | 0

| accepted

Answered
How can I extend a line graph beyond my set of data and how can I extract the y value at the y axis intercept and vice-versa?
A line is a mathematical concept that extends to plus and minus infinity. You only plotted a small part of that line, where you ...

10 years ago | 0

Answered
"intlinprog" error
Upgrade your MATLAB release to the current version? You cannot use capability that was not introduced until after your release.

10 years ago | 0

Answered
extracting matrix from a given one
k([3 4 6],[3 4 6]) Or, k(ind,ind) 3:6 is just a way of describing the numbers in the vector [3 4 5 6], i.e., one w...

10 years ago | 1

Answered
how to constrain one parameter and leave other free to vary with fmincon?
NO. You have no need for a "constraint" here. You have ONE variable, then enters into three different models. Why do you even ne...

10 years ago | 0

Answered
I have an input matrix of 17X4 and output matrix of 17X8, is there any method to fit regression with these many input and outputs together?
Can you solve the problem with 4 inputs and 1 output? I hope so. Just use backslash. Then solve it 8 times. WTP? Loops are no...

10 years ago | 0

Answered
slow contour option of matlab
This is not the slowness of a contour tool. It is that you can always overwhelm any code by throwing a too large problem at it. ...

10 years ago | 0

Answered
How can I impose a specific point using non linear fitting curve?
So much to say, so little space. There are many reasons why you might WANT to do this. Many of them MIGHT be for the wrong re...

10 years ago | 0

Answered
could someone Explain for me this line of code?
Why not think about what it does? Break it down into pieces. What does X(:) do? So then what does min(X(:)) do? What do...

10 years ago | 1

Answered
matlab different results same algorithm
Congratulations! You win the prize for being the 314159'th person to have done this! Sadly, first prize is a free trip to Newark...

10 years ago | 1

Answered
optimum conditions - fitlm
No, you have not depicted any curve or surface. You may think you attached something, but you did not. Do you see anything attac...

10 years ago | 0

Answered
Can I use the minimax optimization algorithm for multiple variables?
If your goal is to set thresholds which are then used to group your data into subgroups, the answer is no. Sorry. Why? Think ...

10 years ago | 0

Answered
how do i explain which eigenvector the software reports as there are theoretically an infinite number?
Return to linear algebra 101. Do not pass go, do not collect $200. Really, if you will be using tools like eig, it would be good...

10 years ago | 0

Answered
Why am I getting images that are less exposed than they should be based on my settings?
I will bet that when you set everything to manual mode, you get a raw image, as it comes directly from the sensor. When you let ...

10 years ago | 0

Answered
Is there a simple way to rotate a matrix 45 degrees? (like rot90)
No. Your plan completely fails for 2x2 matrices, or for any even size matrix at all. As well, it also fails for matrices larger ...

10 years ago | 1

Answered
matlab code erro massage where ~ used
The problem is you took some code for a newer MATLAB release than you have. So the answer is to get a more recent version of MAT...

10 years ago | 0

Answered
det(x) is non zero
It is time for you to learn what are floating point numbers. Also, why det is a dangerous thing to use in general. det is com...

10 years ago | 1

Load more