Answered
Integrating over integral error "A and B must be floating point scalars."
https://de.mathworks.com/help/matlab/ref/integral3.html Best wishes Torsten.

10 years ago | 0

Answered
Using fsolve to solve a system of multi-variable equations
https://de.mathworks.com/help/optim/ug/passing-extra-parameters.html Best wishes Torsten.

10 years ago | 1

Answered
Solve system of second order differential equations with ode45
t = 0:0.1:10; y_init = [y0*ones(n,1); zeros(n,1)] [t,y] = ode45(@rhs,t,y_init); function dydt = rhs(t,y) ...

10 years ago | 2

| accepted

Answered
Integrating 2 symbolic functions w.r.t. a single variable
F_A_Z=@(x) gamma0(x).*gamma3(x); Best wishes Torsten.

10 years ago | 0

| accepted

Answered
DICE: launch N times
https://de.mathworks.com/matlabcentral/fileexchange/24325-combinator-combinations-and-permutations N=...; combinator(6,N...

10 years ago | 0

Answered
can any one know how to code for this equation
1. n is integer. So n=0:0.1:100 doesn't make sense. 2. You can't evaluate r for arrays of n and x simultaneously. So loo...

10 years ago | 0

Answered
Numerical solution for convolution integral
a=...; L=...; fun=@(x,y)(0.5*x.^3+x.^2).*exp(-x/a).*(0.5*y.^3+y.^2); upper_y=@(x)x; q=integral2(fun,0,L,0,upper_y)...

10 years ago | 0

| accepted

Answered
g(x)=x^x-cos(x)
g=@(x)x.^x-cos(x); g(2) Best wishes Torsten.

10 years ago | 1

Answered
interpolation - 2D vector field data?
Use interp2. Best wishes Torsten.

10 years ago | 0

Answered
Solving Cauchy problem for first order PDE
There is no ready-to-use MATLAB program to solve this kind of problem. I suggest you look up "method-of-characteristics". You...

10 years ago | 0

Answered
what is wrong in this code
syms t result=3.7e17; y=3.88e16*(t)^(1.5)*exp(-7000/t); k=solve(y==result,t); Best wishes Torsten.

10 years ago | 0

Answered
Solving non linear equation for a constant
syms A t y = A/2-(A*exp(-(2*t)/3))/2; z = exp(-2*t)/2-exp(-t)+1/2; eqn = limit(y,t,inf)==limit(z,t,inf); solA = so...

10 years ago | 0

| accepted

Answered
Find steady state value of a function
https://de.mathworks.com/help/symbolic/limit.html Best wishes Torsten.

10 years ago | 2

| accepted

Answered
How can i determine a point of intersection in a curve ?
pp=spline(x,w1_6); fun=@(x)ppval(pp,x)-185.11; x0=0; x=fzero(fun,x0) Best wishes Torsten.

10 years ago | 0

| accepted

Answered
How to convert a differential equation to differnce equation?
Take a look at the "Methods" section under https://en.wikipedia.org/wiki/Numerical_methods_for_ordinary_differential_equation...

10 years ago | 0

Answered
Integrating peicewise functions with symbolic bounds
syms x z y=piecewise(-1/2<=x<=1/2,1,0); inty=int(y,x,z,1); does not work ? Best wishes Torsten.

10 years ago | 0

Answered
How can I force solutions to be integer for a non linear problem?
Maybe <https://de.mathworks.com/matlabcentral/fileexchange/35720-minlp--mixed-integer-nonlinear-programming> is of help. ...

10 years ago | 0

Answered
Problem with fsolve?
The "mistake" is that your initial guess (0.2,700) is too far away from the solution you search for (0.4,1100). Try an improv...

10 years ago | 0

Answered
linsolve A*X=B where B is a vector?
syms Exx Eyy Exy eqn1 = 0.5*(Exx + Eyy) + 0.5*(Exx - Eyy)*cosd(2.0*theta1) + (0.5*Exy)*sind(2.0*theta1) == 0; eqn2 =...

10 years ago | 1

| accepted

Answered
Differential Equation Solutions for Best Response and Logit Dynamics
function [T,Y] = logit_dynamic(A,eta,Init_Y,Max_T) % Orbit of the continuous best response dynamic. % [T,Y] = ode45...

10 years ago | 0

| accepted

Answered
How can I minimize a function over certain elements of two matrices?
Take sv as unknown vector x, build the matrices A and Sigma from this vector, use sumabs(A*Omega*A'-Sigma) as objecti...

10 years ago | 0

| accepted

Answered
heaviside function in fun for fminbnd
Use fun = @(x) f(x)*(g(x)>0) Best wishes Torsten.

10 years ago | 0

Answered
Using Neumann boundary condition in pdepe on left side for m =1 or m = 2 (cylindrical / spherical ) coordinate
In cylindrical or spherical coordinates, the boundary condition at r=0 is always pl=0, ql=1 Think about it. Best wish...

10 years ago | 0

Answered
Equation with infinite solutions, solve for n solutions
Try Star Strider's suggestion under https://de.mathworks.com/matlabcentral/answers/143643-fzero-function-calculating-all-zero...

10 years ago | 0

Answered
Least Square Complex Non-Linear Curve Fitting
You won't be able to identify a,b,c,d,D separately. Switch to the model F = const1 * Y^2 + const2 * Z^2 and identify co...

10 years ago | 0

Answered
Solving symbolic equation with additional assumptions
syms a b [sola, solb] = solve([a+a*b == 2, a*b == 0], [a, b]) Best wishes Torsten.

10 years ago | 0

Answered
How to find a minimum value that calculated from a formulation?
x=(50:100); y=(50:100); z=(15:50); Mrmin=Inf; Mu=4000; imin=1; jmin=1; kmin=1; for i=1:51 f...

10 years ago | 1

| accepted

Answered
Help with script for multi-variable non-linear optimisation problem
From your equations, any feasible combination of H and u that makes Re = 100,000 solves your optimization problem. This is becau...

10 years ago | 0

Answered
Non-linear system of 9 equations 9 unknowns MATLAB - unknowns coupled in polynomial ratio
The first thing I would do is to multiply the equations with the respective denominators of the ratio of polynomials. The sec...

10 years ago | 0

Answered
Which root-finding algorithm used in roots function ?
Take a look at the algorithm's section under https://de.mathworks.com/help/matlab/ref/roots.html Best wishes Torsten.

10 years ago | 2

Load more