Answered
Solving system of three non linear equations??
Fsolve is a nonlinear optimization tool. It NEEDS startinng values. Good starting values are often important if your system is n...

8 years ago | 0

Answered
Optimization toolbox: "lsqnonlin" stopped because it exceeded the function evaluation limit
Note that I don't know which release of MATLAB you are using. But what did you try? This seems clear: opts = optimoptions('lsqn...

8 years ago | 2

| accepted

Answered
Conversion to double from sym is not possible
Do we need to guess what the function he does? If I assume it returns some arbitrary numeric value, then look at what you are do...

8 years ago | 0

Answered
Solve system of linear ODEs with variable coefficients
Why not? Yes, you can. Use tools like ode45, etc. Read the documentation for ode45, and you will find examples of use. Depending...

8 years ago | 0

| accepted

Answered
Is there is any company has super computers to run my intensive numerical codes using parallel computations
As I recall there are services which can do things like that. A quick Google search gave me some hits. http://www.sabalcore.com...

8 years ago | 2

| accepted

Answered
How to move points in a curve in the normal direction?
The curves cross becasue you don't know how to do quite what you said you wanted to do? You might have been close. Not sure, and...

8 years ago | 0

Answered
Interpreting division of matrices in MATLAB
I think you need to learn about regression modeling, that you are stepping into too deep waters before you can swim. The first ...

8 years ago | 1

| accepted

Answered
Evaluating normal inverse when probability is close to zero
You need to understand that this probability is impossible to express in double precision. However, there are some things you ca...

8 years ago | 1

Answered
Want a random matrix which has a negative eigenvalues
Too late to really matter, but lets give this a try. First, if all of your matrix elements are positive integers, then you can n...

8 years ago | 3

| accepted

Answered
SIMPLE QUESTION : Partiation of data
No. You THINK you need to turn it into 5 matrices. That is because you can't see a better solution. Instead, turn it into 5 plan...

8 years ago | 2

Answered
Integrate a function over a triangle area
I'm not sure what the answer is, because there are multiple question left unresolved at this point. There are several approaches...

8 years ago | 0

| accepted

Answered
how do i plot partial derivatives of a function in x-y plane
I'd suggest pcolor. Of course, that leaves you two plots, thus df/dx and df/dy.

8 years ago | 0

Answered
I need to determine the pearson product moment correlation coefficient between the variables in this data set.
randn was used to generate an example, NOT to compute a correllation coefficient. But if they had no example data, then what exa...

8 years ago | 1

| accepted

Answered
There is no solution for global optimum search in Optimization Toolbox?
Essentially, yes, that is true. You need to recognize however, that even the global optimization toolbox cannot provably solve ...

8 years ago | 0

| accepted

Answered
Is there a way to directly take the second derivative of data?
Well, even gradient or diff does not actually differentiate data. They can give you an approximation to the derivative at each d...

8 years ago | 1

Answered
Problems in Solving 2 equations 2 unknowns
Sorry, but I have to laugh. Surely you cannot expect an analytical solution to this? Of course solve gives up. Does any solutio...

8 years ago | 4

| accepted

Answered
Code for determinant.
NO NO NO!!!!! First, you should not be using the determinant here. I don't know why you think you need to use it. But if you do...

8 years ago | 3

| accepted

Answered
Numerically solving x + Asin(Wx+C) = 0, for x. (A, W & C are known constants)
When you formulate the problem by inversion as you did, you might expect to see numerical problems some of the time, depending o...

8 years ago | 0

Answered
I have a problem to solve a flow in isosceles inverted triangular duct how can i take points inside the triangle through for loop using finite difference scheme
Not even remotely a MATLAB question, since you have no idea how to solve the problem. I assume you have a PDE over the domain,...

8 years ago | 0

Answered
How can I find a fit to my data points and using triangulation to approximate the planar area?
I don't have your data, while they say a picture is worth a thousand words, it is still just words, not numbers. Anyway, I think...

8 years ago | 1

Answered
How does lsqnonlin fit function to data?
This is really just a question about understanding basic optimization methods, and nonlinear regression methods. In fact, you ca...

8 years ago | 0

| accepted

Answered
Warning when runing fsolve
You don't tell us what the parameters are, so we cannot help you more. But you can help yourself easily by use of the proper too...

8 years ago | 0

Answered
Solving symbolic equations with extra equations
You show A set of solutions that you got by hand. But do they satisfy all the equations? No. Of the unknown variables you solved...

8 years ago | 0

Answered
By using syntax ‘taylor’ in MATLAB, find the third order approximation of log x using base point at x = 1.
Hint: MATLAB does not know that when you type logx, in fact you wanted it to compute the function log(x). As well, you need to u...

8 years ago | 0

Answered
Is it possible, or is it used to, or is it elegant to change input variables?
Is it possible? Of course. Why not? Is it elegant? You can do anything you please in this matter. Note that any changes you m...

8 years ago | 1

Answered
Warning: Cannot find explicit solution
solve is telling you that no analytical solution exists. That is what you tried to do, is it not? Do you assume that all equatio...

8 years ago | 1

| accepted

Answered
Root Finding problem in fsolve
The crystal ball says: "You may have made a mistake" Perhaps you want us to tell you which mistake you made? That is impossib...

8 years ago | 0

Answered
creating an equal lateral triangle in matrix
Any number of ways, certainly many if I spent any amount of time to think them up. Simplest? 1. Start with meshgrid, creatin...

8 years ago | 0

Answered
Truss Analysis software weird solutions
It is usually best to contact the author of submitted code on the FEX when you have problems with their code. In this case, only...

8 years ago | 1

Answered
Interpolation of R^3 -> R^3
A typical interpolation scenario for interp2 is that you have some functional (but unknown) relationship, of the form z(x,y).Thu...

8 years ago | 0

Load more