Answered
How to solve simulatenous non linear differential equation with coupled boundary conditions ?
It may make things more convenient that the differential equation y" = exp(y) in 0<=x<=4 has an explicit solution. If dy/dx = 0...

13 years ago | 1

| accepted

Answered
How to Double-integrate a Function with Three Variables Using quad2d
You cannot use a numerical integration function like 'quad2d' to produce results which contain unspecified variables. That is t...

13 years ago | 1

| accepted

Answered
how can i add as x(1) multiple numbers instead of one at a time?
This is what is involved in the Collatz conjecture. The conjecture states that no matter what positive integer is used to begin...

13 years ago | 1

Answered
How to solve a system of non linear equations one of which is an integral equation ?
Earlier you stated "Suppose, the integral is such that it is finite within the integration limits." However, in this most recen...

13 years ago | 0

Answered
how to find the sum of multiple non zero elements in an array
There is an ambiguity in the posing of this problem. Are the sets of nonzero numbers distinguished from one another by their va...

13 years ago | 2

Answered
extracting data from the matrix
The first thing that comes to mind is to use the 'ismember' function with the 'rows' option. Let M be the (huge) n-by-6 matrix ...

13 years ago | 1

Answered
Generating Non Linear Equation
It depends on what you want to minimize in your "fitting". To get the least squares difference between y and the above expressi...

13 years ago | 0

Answered
vision system++convert position value to motor angle
I see four different angles involved in the positioning of the robot arm in that video. Which one or ones are you inquiring abo...

13 years ago | 1

Answered
Calculate derivatives of two complex functions that depend on each other
Why don't you do a 'solve' for 'f1' and 'f2' as the unknowns in the two equations to express each in terms of your ten other var...

13 years ago | 0

| accepted

Answered
How to divide an arc?
I suggest you use one of the 'ode' solvers to solve the differential equation: ds/dx = sqrt(1+(dy/dx)^2) where y(x) is yo...

13 years ago | 0

Answered
Integral of the beta function
Martin, I think you have written your parameters for the beta function backwards. It should be the integral of x^(alpha-1)*...

13 years ago | 1

Answered
How to get infinite sum containing double integral expression ?
I think it likely your series is divergent as you have it defined. Take advantage of the fact that the sum of double integrals ...

13 years ago | 0

Answered
how to simply result from diff result
You undoubtedly obtained this kind of baffling result because your original symbolic expression contained numerical values in de...

13 years ago | 0

Answered
How to write a code in generate a random number within an ellipse for Mathlab?
There is a method which avoids having to reject points. The idea is to rotate your coordinate system about the center of the el...

13 years ago | 1

Answered
How do i reach the parametrized solutions of a system of nonlinear equations?
It is strange that you had trouble on those particular four equations using 'solve'. On my very ancient Symbolic Toolbox it imm...

13 years ago | 0

| accepted

Answered
Select one root of an second degree equation
You could also use the formula for second degree equations. If the equation is: a*x^2 + b*x + c = 0 then get the positive...

13 years ago | 0

| accepted

Answered
How to tell if there are at least 5 consecutive entries in one 8-by-1 matrix with 8 integers?
It can all be put into one line: any(diff(find([true;diff(unique(x))~=1;true]))>=5)

13 years ago | 1

Answered
How to solve a system of non linear equations one of which is an integral equation ?
In answer to your revised question, you can make use of matlab's numerical integration function 'integral' combined with the Opt...

13 years ago | 0

Answered
Generate set of feasible points for a function?
When asking for a set of all feasible points with respect to some condition to be generated by a computer you must ensure that t...

13 years ago | 0

| accepted

Answered
How to find the number of consecutive occurrence of the numbers?
It isn't clear if you are asking for the maximum consecutive occurrence for each possible number in A or the maximum of these ma...

13 years ago | 5

| accepted

Answered
MATLAB Solve function gives [ empty sym ]
Squaring both sides of your equation and coalescing given parameters produces a simplified equation of the form N^(b+c) + k1...

13 years ago | 0

Answered
How to calculate polynomial coefficient in this case?
Another possibility is to use the Lagrange formulation of the polynomial in symbolic form and then use the Symbolic Toolbox 'col...

13 years ago | 0

Answered
zero filling of a 4d matrix or how can I copy a matrix in a bigger one without for loops
B = zeros(320,320,320,4); B(33:288,33:288,33:288,:) = A;

13 years ago | 2

| accepted

Answered
someting is wrong but ı didnt find it
You are expecting the array K to have elements which are themselves arrays. Matlab doesn't like that. Moreover you don't have ...

13 years ago | 0

Answered
Determine which of these functions will cross for a given range: cos (x), tg (x), sin (x) in the interval [0, 1].
If by "cross" you mean that a pair of curves pass through the same x,y point, then you are trying to determine, for example, if ...

13 years ago | 0

Answered
output will not suppress even with a semi colon
Semicolons will not suppress the actions of the 'disp' function. You need to remove them if you don't want to see an output fro...

13 years ago | 0

| accepted

Answered
how can I get rid of these errors?
The 'quad2d' and 'dblquad' functions are intended for use with numerical data, namely 'double' or 'single' variables as the erro...

13 years ago | 0

Answered
Find relation / formula between series and a number
Since the two series are approximately linearly related, I would suggest that it is simplest if the parameter also be considered...

13 years ago | 0

Answered
A problem including an array
if prod(diag(A)) > min(A(:)) + max(A(:)) x = [-3:.25:3]; % or linspace(-3,3,25) y = A(3,1)/sqrt(3)*A(2,2)*x.^2 + A(2,4)*...

13 years ago | 0

| accepted

Load more