Answered
How to input piecewise continuous differential function into chebfun?
Without your boundary conditions, the solution of your differential equation is given by u1(x)=1/6*x^3+a*x+b if 0<=x<=0.5 ...

11 years ago | 0

Answered
Ode45 solver error messages, how do I fix my script?
Try f = @(t,x) [ (1./x(2)).*(Pm.*(Pm-x(1)./R)) - x(1).*x(3) ; x(3) ; (1./Ia).*(x(1)-(Pm -(R*w).*(0.5*vol_tid).*sin(w.*t) - E*...

11 years ago | 0

Answered
how to solve differential equation in matlab
Do you know an antiderivative of beta(z),i.e. a function Beta(z) with the property that d(Beta(z))/dz = beta(z) ? Best wis...

11 years ago | 0

| accepted

Answered
Can PDEPE solve 1-D Nonlinear PDE equation systems well?
If pdepe does not succeed, the toolbox also won't succeed for this 1-d problem. Show us your code - maybe we can find the rea...

11 years ago | 0

Answered
why result is zero?
Take a look at the chapter "Multiple numerical integrations" under http://de.mathworks.com/help/matlab/ref/trapz.html to s...

11 years ago | 0

| accepted

Answered
Square root of 3x3 matrix
Look at the chapter "How to diagonalize a Matrix" under http://en.wikipedia.org/wiki/Diagonalizable_matrix Best wishes ...

11 years ago | 0

Answered
Implementation of High Order DAE for Matlab Solver
I guess your DAE system is of higher index than 1. You can check this: http://de.mathworks.com/help/symbolic/check-and-red...

11 years ago | 0

| accepted

Answered
Simulation of differential equations with multiple variables. What is wrong with my code? Monod-like kinetic, Biotechnology, Differential equations, ODE15s
The equations for mu and nu are algebraic equations, but at the moment you solve dmu/dt=mu_m*(c_s/(Ks+c_s+(c_s^2)/Kss))*(...

11 years ago | 0

| accepted

Answered
Error In Jacobi Iterative Method
Your evaluation of the function g is not correct. Use g(x(i),y(j)) instead of g(i,j). Best wishes Torsten.

11 years ago | 0

Answered
Problem with integration of Normal PDF
Use the "Waypoints" option, i.e. distribute points in the region where the mass of your function is located (in this case around...

11 years ago | 0

| accepted

Answered
Solving a differential equation?
The message is not an error message. It's just an information that the solution to your differential equation can not be giv...

11 years ago | 0

Answered
Assistance with integration limits and implementing it in Matlab
As written, your integral is simply 1/(4*Psi(n-1)^2+1)^0.5 - 1/(4*Psi(n)^2+1)^0.5 (an antiderivative of f(x)=4x/(4x^2+1)^1...

11 years ago | 0

Answered
How to draw parabola given two points A(x1,y1) & B(x2,y2)?
Parabola: p(x)=ax^2+bx+c tan(50°)=p'(x1)=2*a*1.2643+b 5.6106=p(x1)=a*1.2643^2+b*1.2643+c 45=p(x2)=a*120^2+b*120+c ...

11 years ago | 0

| accepted

Answered
Solving linear system of equations
xH(1)=(101.32-PO(1))/(PH(1)-PO(1)) xH(2)=(101.32-PO(2))/(PH(2)-PO(2)) xH(3)=(101.32-PO(3))/(PH(3)-PO(3)) xH(4)=(101.3...

11 years ago | 0

| accepted

Answered
2nd order nonlinear differential equations as "State Space Representation" for ode45()
Set y1=y, y2=y', y3=y''. Then solve the system y1'=y2 y2'=y3 f(t,y1,y2,y3,y3')=0 Best wishes Torsten.

11 years ago | 0

Answered
help me to solve this differential equation???
Fundamental system is y1(x)=exp(4/3*x) y2(x)=x*exp(4/3*x) For a solution in MATLAB: help dsolve Best wishes Tor...

11 years ago | 0

Answered
2nd order nonlinear differential equations as "State Space Representation" for ode45()
Use ODE15I instead of ODE45. Best wishes Torsten.

11 years ago | 0

| accepted

Answered
how to solve implicit second differential equation in matlab
Use ODE45 or BVP4C (depending on your boundary conditions) to solve the system y1' = y2 y2' = (-Af(x)*y2-h(x))/(Bg(x)) ...

11 years ago | 0

Answered
How can I find X for given Y value in a fitted curve?
Use the inverse function: X=b1+c1*(log(a1./Y))^0.5 or X=b1-c1*(log(a1./Y))^0.5 Best wishes Torsten.

11 years ago | 0

| accepted

Answered
How do I perform this integration?
I'd do the integration by taking pencil and paper: The antiderivative of a*cos(2*pi*x*R) is a/(2*pi*R)*sin(2*pi*x*R). Best...

11 years ago | 1

| accepted

Answered
How can I solve a minimization with 3 linear constraints?
Use MATLAB's "fmincon" to solve. Best wishes Torsten.

11 years ago | 0

Answered
Standard deviation of all matrix elements (single value)
Use "reshape" to get an (N*M,1) column vector from the (N,M)-matrix. Best wishes Torsten.

11 years ago | 0

Answered
Error using function and driver ODE15s: "too many input arguments"
Try function [r] = reactions3_2(x,nf) Best wishes Torsten.

11 years ago | 1

Answered
Optimization : linprog function problem !!!
Seems your constraints are such that your problem does not have a feasible point. Best wishes Torsten.

11 years ago | 0

| accepted

Answered
How to use lsqlin for best line or ploynormial fitting?
Is there any advantage of lsqlin over polyfit you have in mind ? Best wishes Torsten.

11 years ago | 0

Answered
Double Integration : (Displacement signals from the Acceleration data)
http://www.mathworks.com/matlabcentral/answers/17611-how-to-convert-a-accelerometer-data-to-displacements Best wishes Tors...

11 years ago | 0

Answered
Least Squares Method for best line fitting
I think you are talking about "orthogonal linear regression". Try http://www.mathworks.com/matlabcentral/fileexchange/1680...

11 years ago | 1

| accepted

Answered
Creating an ODE Function in Matlab
http://de.mathworks.com/help/matlab/ref/dde23.html Best wishes Torsten.

11 years ago | 0

Answered
Selecting a random number with some probability
x=rand; if x<0.6 select=1; else select=2; end Best wishes Torsten.

11 years ago | 9

| accepted

Load more