Answered
indefinite Integral with two unknowns
syms a x int(sqrt((x-a)/(x+a)),x) does not work ? Best wishes Torsten.

10 years ago | 0

Answered
ODE , Nonlinear differential equation
Solution is y(t)=1-(7/10*K*(t-t0)+(1-y(t0))^(-7/10))^(-10/7) if at t0, y=y(t0). Best wishes Torsten.

10 years ago | 0

| accepted

Answered
How can solve the explicit equation by using matlab
fun=@(x)exp(-x.^2/2)./x.^3-1.39; sol=fzero(fun,[0.5 1]); Best wishes Torsten.

10 years ago | 0

| accepted

Answered
Linear objective with quadratic constraint
Take a look at the documentation of fmincon about the form of the functions "fun" and "nonlconstr". Best wishes Torsten.

10 years ago | 0

Answered
How to define multiple nonlinear inequality constraints for 'fmincon'?
function [c,ceq] = circlecon(x) c(1) = (x(1)-1/3)^2 + (x(2)-1/3)^2 - (1/3)^2; c(2) = ...; c(3) = ...; ...

10 years ago | 9

| accepted

Answered
Feasibility lsqlin vs. fmincon
You also get no solution from lsqlin if you supply an initial guess for x0 (like in the case where you use fmincon) ? Best wi...

10 years ago | 0

| accepted

Answered
How it is possible to find the eigenvalues of a 2*2 matrice without using of eigen function?
eigenvalues=solve(D==0,landa); Best wishes Torsten.

10 years ago | 0

| accepted

Answered
How to solve integral in matlab
syms x value=int(1/sqrt(2*Pi)*exp(-x^2/2),x,-Inf,Inf) Best wishes Torsten.

10 years ago | 1

| accepted

Answered
Need Assistance for 'bvp4c' function
Try this: function driver xlow = 0; xhigh = 10; solinit = bvpinit(linspace(xlow,xhigh,2000), [0 0 0 1 0]); opti...

10 years ago | 0

Answered
How to fit a logarithmic curve to my data;
Use lsqcurvefit (or fminsearch if you don't have the optimization toolbox). Best wishes Torsten.

10 years ago | 0

| accepted

Answered
Getting NaN with ODE45/15s
Check xdot at the beginning of the integration. My guess is that they result in NaN, Inf or something similar. Note that you...

10 years ago | 0

Answered
Provide Jacobian Matrix for ODE15s solver
options=...,'Jacobian',@(t,y)JacobiFun(t,y,time_r,dt,ug,vg,J,y_sym,Sys),... Best wishes Torsten.

10 years ago | 0

| accepted

Answered
Unable to solve the collocation equations -- a singular Jacobian encountered error.
My guess is that the variable "d" is not defined for the initial condition (y(9)=0 !) Best wishes Torsten.

10 years ago | 0

Answered
How do you solve a boundary value problem of the given form ?
Replace solinit = bvpinit(linspace(xlow,xhigh,10),[0 0]); by solinit = bvpinit(linspace(xlow,xhigh,10),[1 0]); B...

10 years ago | 0

Answered
How to solve the identity equation?
In my opinion, it's X = c*X*b(c*X,c*Y) = c*X*((c*X)^2+(c*Y)^2)^((n-1)/2) = c*X*(c^2)^((n-1)/2)*(X^2+Y^2)^(...

10 years ago | 1

Answered
How to make successive for loops?!
If you compare with my code, you'll notice that the use of i2 and i3 in these lines is not correct. v2(i2)=70.*w1;...

10 years ago | 0

| accepted

Answered
JacobiSn of a complex number
http://www.mathworks.com/matlabcentral/fileexchange/17747-jacobi-elliptic-functions-sn--cn-and-dn-of-complex-phase/content/ellip...

10 years ago | 0

| accepted

Answered
How can I introduce a delay in an internal variable in ode15s solver?
Your equation is a delay-differential equation. Thus you should use an appropriate solver, e.g. http://de.mathworks.com/help...

10 years ago | 0

| accepted

Answered
Error: Error using lsqcurvefit Function value and YDATA sizes are not equal.
You switched the order of the arguments in "model": use model(p,x) instead of model(x,p). Furthermore, the line x = lins...

10 years ago | 0

Answered
Modeling Lotka-Volterra using ode23
The code looks ok to me. Why do you ask ? Are the results not as expected ? Best wishes Torsten.

10 years ago | 0

| accepted

Answered
Positive definite matrix, least square minimization
Add the constraints that the five sub-determinants of X have to be positive and use fmincon to solve. Best wishes Torsten....

10 years ago | 1

| accepted

Answered
how to solve this complex differential equation ?
y(t)=1/(1+t)+2/(1+t)^2*1i Best wishes Torsten.

10 years ago | 1

Answered
I need help to plot a distribution curver out of an equation
http://de.mathworks.com/help/matlab/ref/fplot.html Best wishes Torsten.

10 years ago | 0

| accepted

Answered
Simpson's rule help
Try Nsteps=999 (N must be a multiple of 3). Best wishes Torsten.

10 years ago | 0

Answered
Can ode45 handle vector of undetermined coefficients
Try [T,X] = ode45(@(t,x)Est_Opt_VanillininVitro(t,x,k), time, [0.001; 0; 0; 0.1; 0.1]); Best wishes Torsten.

10 years ago | 0

Answered
Can ode45 handle vector of undetermined coefficients
The call to ODE45 must read [T,X] = ode45(@(t,x)Est_Opt_VanillininVitro(t,x,k), time, [0.001 0 0 0.1 0.1]); and the call ...

10 years ago | 1

Answered
How can I integrate a set of ODEs given that my initial conditions also change (linearly) within the concerned time span?
function driver tstart = 0.0; tend = 1.0; flag = 1; [T1 Y1] =ode45(@(t,y)myfun(t,y,flag),[tstart tend],[0.01;600...

10 years ago | 0

| accepted

Answered
Can ode45 handle vector of undetermined coefficients
Since fminsearch suggests coefficients each time before ODE45 is called, there are no undetermined coefficients within ODE45. ...

10 years ago | 0

Answered
Solving system of PDE coupled with derivatives
You will have to discretize your equations in space since MATLAB does not have a suitable tool to solve a PDE together with an O...

10 years ago | 0

Answered
representing a given polynomial in Chebyshev polynomials
Read section 4.2 under http://www.mathworks.com/matlabcentral/fileexchange/23972-chebfun-v4-old-version--please-download-curr...

10 years ago | 0

Load more