Answered
How to fix "Number of equations greater than number of indeterminates. Trying heuristics to reduce to square system." error.
You need to understand what was wrong in your forumulation. You want to solve this system using symbolic tools. % define some c...

2 years ago | 0

Answered
Jumps in roots finding solutions
Lets spend some time to understand what happens. Consider the simple polynomial: y = x^5 + 3*x^4 + (2+t)*x^2 - t^2*x + (1+...

2 years ago | 0

Answered
Solving system of nonlinear equations using Matlab
fsolve does not apply constraints. It does not know that you think some coefficient should be some number. It does not care. All...

2 years ago | 0

Answered
Newton Raphson implementation, not converging, maybe error in implementation
There are some significant misunderstandings on your part that I want to clear up, as well as perhaps help you solve your proble...

2 years ago | 0

| accepted

Answered
Progress bar takes lots of time
Yes, a waitbar takes time to update. It looks like you are calling it a lot. And every time, it does an update. And since this i...

2 years ago | 0

| accepted

Answered
Adoption of Name=Value in Function Calls what is best practice?
What is best practice? I kind of like the new syntax. But best practice would seem to be whatever you like. At some point, might...

2 years ago | 0

| accepted

Answered
Solving non linear inequalities in 2 variables
The "range of variables? Those inequalities will generally describe some nonlinear "thing", even if they describe a bounded doma...

2 years ago | 2

| accepted

Answered
Question about transcendentals on symmatrix objects
A = symmatrix('A',[2,2]) That produces a matrix of the desired size, which is specifically symmetric, but see that it creates a...

2 years ago | 0

Answered
Format of a number
You need to understand that MATLAB can represent numbers as large as realmax and as small in magnitude as realmin as double...

2 years ago | 0

| accepted

Answered
Programmatically calculate indices of the outline of a circle and all points within in it
Wait. You want to compute the list of all points within a circle? There are infinitely many. Ok, I guess given a MESH of points...

2 years ago | 0

Answered
Finding range of variable for which eigenvalue of matrix is negative.
These are never trivial. You have a 3x3 matrix. It will have 3 eigenvalues. syms T Matrix = [ 0 1 -1; 1 0 0; -1 0 ...

2 years ago | 1

| accepted

Answered
How to implement following bessel function in MATLAB
Seriously, READ THE HELP! help besselk What does the very first line say? Modified Bessel function of the second kind. So, yes...

2 years ago | 0

| accepted

Answered
I am trying to do bilinear curve fitting of capacity curve using FEMA-356 procedure. I am providing the data in excel format of the curve.
Sigh. I don't feel anyone has given you a good answer, so I've reopened this many times asked question to provide an answer. Yo...

2 years ago | 0

Answered
Find approximation function z=f(x,y) for a 3-dimension set of data
This is almost always a difficult problem, when you have no physical reasoning to suggest a valid model. That forces you to gues...

2 years ago | 1

Answered
Interpolating one variable to another with duplicate data points using interp1 - Error: Sample points must be unique.
Interpolation REQUIRES the data is unique in x. If there are two points with the same x value, then if y is not the same at thos...

2 years ago | 0

| accepted

Answered
integral vs trapz vs sum
SIMPLE. READ THE HELP. help trapz So the call to trapz should have been I_trapz = trapz(Es,funn_values); Changing that,...

2 years ago | 0

| accepted

Answered
Imposing boundary conditions to a spline interpolation
First, I need to determine if the constraint set you wish to impose actually makes sense. Have you specified too much informatio...

2 years ago | 0

| accepted

Answered
How do you solve a system of 16 nonlinear equations with 16 unknowns ?
Whenever we see a number supplied to FOUR significant digits, we should expect that is not the true value, but only an approxima...

2 years ago | 1

Answered
How to do bit-wise operations on symbolic variables that may be very long possibly larger than inter 64
Why is there a problem? Just define the numbers as syms. Make sure that you don't make the mistake of computing 2^n as a DOUBLE....

2 years ago | 0

| accepted

Answered
Roots of a 4th degree polynomial and plotting a graph
Effectively, you are telling us that one of the coefficients of the polynomial is determined to within some interval. And now yo...

2 years ago | 0

Answered
What is the Distinction Between Answers and Discussions?
@Paul, your question really is arguably more suitable for a discussion. I'd suggest the rule(s) should be: If it is a question ...

2 years ago | 2

| accepted

Answered
How to find all the intersecting points between 4 spheres ?
There will generally be no common point of intersection between all 4 spheres, so where all the spheres intersect. Of course, yo...

2 years ago | 2

Answered
I got x as a result of the symbolic equation solver!
syms n p1 lambda delta v N F B n=(delta - B*delta + 2*delta*v + (4*B*delta - 4*delta - 8*delta*lambda + 8*delta*p1 - 8*delta*v ...

2 years ago | 1

Answered
Why more CPU cores makes parallel workers less efficient?
I'll assume the process really can be perfectly parallelized, so that you can break the problem down into multiple fully paralle...

2 years ago | 0

Answered
How to find the coordinate of the point on (180) contour line when y(max)?
Easy. Use contourc to find that specific contour. It will be a piecewise linear curve. Find the point where y is maximum. That...

2 years ago | 0

Answered
Fit distribution using moments
This is something commonly done using either the Pearson or Johnson family of distributions. (It has been many years since I loo...

2 years ago | 0

| accepted

Answered
Understanding higher dimension in MATLAB
Visualize a vector. For example, the vector V = 1:5 So the numbers 1 through 5, stored in sequence in memory. Got it? rand wil...

2 years ago | 0

| accepted

Answered
I am using the symbolic tool box and have generated a number that has over 25,000 digits and would like to store that number in it's entirety onto a disk file.
Is that really an extremely large number? :) Everything is relative. X = sym(17)^20000; Xc = char(X) numel(Xc) Xc is just a ...

2 years ago | 3

Answered
ANFIS code in matlab
No problem. It appears the anfis function is written in MATLAB itself, and not compiled. If it was compiled code, then no, they ...

2 years ago | 0

Answered
Problem in mishgrid and contour function
This is not even a probable user error. A CERTAIN user error. You have done something wrong. Nobody knows what, since you have...

2 years ago | 0

Load more