Answered
How to solve a system of linear inequalities
Ok. So you have a linear system of inequalities, plus bound constraints. There is no "solution", because there are infinitely ma...

9 years ago | 0

Answered
pair of neighboring triangles from triangulation.
I would simply start with the list of all triangles. Sort all triangles to list the vertices in increasing order of node from...

9 years ago | 0

Answered
what is the difference between 5 different algorithm in fmincon? which one would you suggest for my case which is explained in the body?
To answer your new question, which is now what is the difference between the 5 algorithms in fmincon, just read the doc fmi...

9 years ago | 0

Answered
what is the difference between 5 different algorithm in fmincon? which one would you suggest for my case which is explained in the body?
If you have no clue about your objective? Then you should spend some time in learning about it, thinking about it, plot it, etc....

9 years ago | 1

Answered
finding equations of damped sine wave parameters with givethree data points
Use fsolve. You have three nonlinear equations, with three unknowns.

9 years ago | 0

Answered
How do I access hex values stored in a char in matlab?
help hex2dec help hex2num

9 years ago | 0

Answered
Inverse prediction of nonlinear model
Is it possible? Of course. The function is nonlinear. How would you solve the problem f(x) == y for x, given a valu...

9 years ago | 0

Answered
Curve Fitting tool for mathematical relation. Using interpolant - Biharmonic
There is no simple "equation" for such a fit. Any equation that you could eventually compose from that fit would be messy as hel...

9 years ago | 0

| accepted

Answered
How to guarentee or produce that 2 or more pseudorandom signals are not correlated each other?
Two pseudo-random sequences will be independent and so uncorrelated, at least asymptotically so. That they have some small but n...

9 years ago | 0

Answered
Write out which values are represented in an array
help unique

9 years ago | 0

| accepted

Answered
How can I plot 3 parallel curves AND join each point transversally in a 3D graph/plot?
1. Create an nx3 or 3xn array, concatenating the data into one matrix. 2. Call surf with that array. You don't tell us wha...

9 years ago | 0

| accepted

Answered
Use the Euler relation to split a function into complex and imaginary parts
You CANNOT use real and imag as you have done. At least, it will be a waste of time. A quick glance shows that at least C an...

9 years ago | 0

| accepted

Answered
Fitting the curve on poyfitn model
I saw this data the last time you asked a question about it. NO YOU CANNOT USE POLYFITN. PERIOD. If you could have used polyfitn...

9 years ago | 0

| accepted

Answered
fitting a curve on 3d data
UGH. If I understand you, this curve has a set of points that follow no known model, but you want to fit them, in 3-D. So this b...

9 years ago | 2

Answered
Is there any algorithm to solve this kind of system by matlab.
Guidance? Solve the linear system A*x=b using backslash. x = A\b; If A is large and banded, then start learning about sp...

9 years ago | 1

| accepted

Answered
How to return a vector output for a vector input for a custom made function?
Of course you can. function y = myfun(x) y = x; end This returns the vector y, given input vector x. WTP?

9 years ago | 1

| accepted

Answered
Non Linear optimization problem in MATLAB
As Matt points out, the solution you found may have issues. You can see the source of the problem by looking at your nonlinea...

9 years ago | 0

| accepted

Answered
Why does 0 times infinity not equal 1?
While you talk about "basic math", the concept of infinity can be quite paradoxical, and rarely truly basic. inf in MATLAB is...

9 years ago | 2

Answered
Compute mean and diff faster
Get more memory. Huge problems require more memory, or a cup of coffee. Sit down, relax, take out that old copy of War and Peace...

9 years ago | 1

| accepted

Answered
How do we find the value of y=cos(x.^(2.5)) ?
Why are you surprised at getting complex results? What is (-1)^2.5, of for that matter, (-1)^2.85? (Be careful, as it is not ...

9 years ago | 1

Answered
solve overdetermined linear system
First of all, DON'T USE THAT SOLUTION!!!!!!!! That is a bad idea, because it is terrible when applied to moderately ill-posed pr...

9 years ago | 0

Answered
Multiply the vector organs
You want to multiply s*v, so perform that multiplication, but without using the * operator? May I ask why you want to do such a ...

9 years ago | 1

Answered
error using fminsearch and fminbnd
There is ABSOLUTELY no reason to use an optimization tool for the problem you are showing. If your problem is to find the cl...

9 years ago | 0

Answered
A complicated answer from 'solve' function
Very often, the answer is that the symbolic toolbox does not see what seems obvious to you. Yes, it seems clear that by divid...

9 years ago | 1

Answered
How can I renew my matlab 2013a
Answers is not able to answer questions like this. For product help, you need to contact customer support.

9 years ago | 0

Answered
fitting data to a superellipse
There are several problems here, as I expected. 1. An ellipse is not a function. So a sum of squares of residuals does not wo...

9 years ago | 1

| accepted

Answered
I am new to MatLab. I have to solve these equations and i have to find Tvalues for 300s.
So what is your problem? You have code. Use it. The code could have been written to be better code, because T1,T2,T3,T4,T5 ar...

9 years ago | 0

Answered
How to compute min_x ||Ax - y||_0 in Matlab?
Ok, you are asking to solve the linear problem min ||||A*x-y||||, thus for given matrix A and vector y, it is desired to solve f...

9 years ago | 1

Answered
Why does Curve Fitting Toolbox produce a good exponential fit graph with a wrong equation?
NEVER use 4 or 5 digit approximations to coefficients. In fact, even if you display the coefficients in the command window using...

9 years ago | 0

| accepted

Answered
Hello, I am trying to generate program to measure contrast psychometric function. Can someone help?
The answer seems simple enough. READ THE ERROR MESSAGE! Read your own code. Did you look at line 52? I've included lines 51 A...

9 years ago | 1

| accepted

Load more