Answered
Curve fitting → z = A*exp(Tb/x)*(Cg/(Cg-y))^(C1+y*C2)
Choose the lower bound for Cg to be at least as big as the maximum value for y (i.e. 0.96). Best wishes Torsten.

9 years ago | 0

Answered
How do I truncate a normally distributed random variable?
https://de.mathworks.com/help/stats/prob.truncatabledistribution.truncate.html Best wishes Torsten.

9 years ago | 0

Answered
Error in Ode15s
Take a look at the examples -PASS EXTRA PARAMETERS TO ODE FUNCTIONS (you didn't do that correcty in your code above) and...

9 years ago | 0

Answered
Solving a transcendental equation
n = logspace(6,13,20); V_gs = V_0+V_T*log(exp(n/g*k_B*T)-1)+V_ox; semilogy(V_gs,n) Best wishes Torsten.

9 years ago | 0

Answered
How to plot the l2 norm circle?
theta=0:2*pi/100:2*pi; x=cos(theta); y=sin(theta); plot(x,y) Best wishes Torsten.

9 years ago | 0

| accepted

Answered
how to solve the given equation using multiple values of D?
Use (1-D).^2 instead of (1-D)^2 in your definition of "eqn". And remove the line syms eqn D it's sup...

9 years ago | 0

Answered
Best curve fitting for measured data
help lsqcurvefit Best wishes Torsten.

9 years ago | 0

| accepted

Answered
How can i flip a (M x N) matrix to (N x M)?
https://de.mathworks.com/help/matlab/ref/transpose.html Best wishes Torsten.

9 years ago | 0

Answered
Solving a sum of series of exponential function with a sum of series of cosine function inside
h=...; epsilon=...; r=1:2^h-1; v=1:h-1; result=sum(exp(epsilon*sum(cos(pi/2^(h-1)*(2.^v).'*r)))); Best wishes ...

9 years ago | 0

| accepted

Answered
Solving equations in terms of expression
Since no symbolic solution is in sight for your system, use "vpasolve" instead of "solve". Or try another numerical solver li...

9 years ago | 0

Answered
How to fit a equation to a data set?
Use lsqnonlin. Since it minimizes sum_i f(x_i,y_i,p)^2 instead of sum_i (y_i - f(x_i,p))^2, the fit model does not need to be...

9 years ago | 0

Answered
How does one specify a real datatype when attempting to fit real parameters to a complex function with lsqcurvefit?
You won't get complex values for C if you fit real(y) to real(f(x)) and imag(y) to imag(f(x)) simultaneously. In this case, ...

9 years ago | 3

| accepted

Answered
Solving a delay differential equation with ddesd
In my opinion, there is no available DDE solver that can cope with your problem. The problem is that the length d of your de...

9 years ago | 0

| accepted

Answered
How to solve differential equation with variable input parameters
z0=0 z1=z0+dt*(w*v1*z1+1) -> z1=(z0+dt)/(1-dt*w*v1) z2=z1+dt*(w*v2*z2+1) -> z2=(z1+dt)/(1-dt*w*v2) ... In general:...

9 years ago | 1

| accepted

Answered
I have this message although I can't see where is the problem
fun = @(x)root4d(x(1),x(2),x(3),x(4)) Best wishes Torsten.

9 years ago | 0

| accepted

Answered
Fourier transform of mollifier
f = exp(1/(x^2-1))*(abs(x)<1) Best wishes Torsten.

9 years ago | 1

| accepted

Answered
boundary conditions for pdepe
pl = ul; ql = 0.0; pr = ur-10; qr = 0.0; Best wishes Torsten.

9 years ago | 1

Answered
how to compute the limit as N goes to infinity of a summation from -N to N
"symsum" together with "limit" do not succeed ? https://de.mathworks.com/help/symbolic/symsum.html https://de.mathworks.c...

9 years ago | 0

Answered
solve h(t)=-0.12t^4+12t^3-380t^2+4100t+220 ,using matlab
You mean https://de.mathworks.com/help/matlab/ref/roots.html ? Best wishes Torsten.

9 years ago | 0

| accepted

Answered
solve an equation with incomplete gamma function
https://de.mathworks.com/help/matlab/ref/gammaincinv.html Best wishes Torsten.

9 years ago | 0

| accepted

Answered
Is it possible to numerically solve the following nested integral e.g. with a different syntax in MATLAB: nintegrate(f(y)/(nintegrate(g(x,y), x, a, b)), y, c, d)
Try function main g=@(x,y) ...; f=@(y) ...; a=...; b=...; c=...; d=...; sol=integral(@(y)fun_y(y,g,f,...

9 years ago | 0

| accepted

Answered
Inverse CDF for Generalized Linear Model (GLM) with Binomial Distribution
Solve glmval(Voltage) - (given probability) = 0 for "Voltage" using "fzero", e.g. Best wishes Torsten.

9 years ago | 0

Answered
How to calculate number of function evaluation used?
When n=5, f and fprime have been called 5 times each, namely to evaluate f(x1),f(x2),...,f(x5), fprime(x1),fprime(x2),...,fprime...

9 years ago | 0

Answered
integrate over the solution of a linear system
Why not trying "integral" ? Best wishes Torsten.

9 years ago | 0

Answered
How can I solve a differential equation on non-fixed interval?
Use the "Event"-facility of the ODE-integrators and stop integraton if y=1. Example under https://www.mathworks.com/exampl...

9 years ago | 0

| accepted

Answered
Linear programming with complex inequalities
Multiply the >= inequalities by (-1). Best wishes Torsten.

9 years ago | 1

| accepted

Answered
What is the difference between the given matrix multiplications: A*B and A.*B (A and B are both matrices)
a*x is the "usual" matrix-vector multiplication, a.*x is elementwise multiplication. In your case, every element of row i of a i...

9 years ago | 3

| accepted

Answered
"Inputs must be floats, namely single or double"
function main tspan=[0 5]; y0=[1; 1; 1; 0]; [t,y]=ode45(@fun,tspan,y0) function dy=fun(t,y) dy=zeros(4,1); ...

9 years ago | 0

| accepted

Answered
When using symbolic solver I seem to get the strange answer.
2^(1/2) / 2 = 1 / 2^(1/2) ... Best wishes Torsten.

9 years ago | 0

| accepted

Answered
calculate the function in vector.
output= ([(input.').^0 (input.').^1 (input.').^2 (input.').^3 (input.').^4 (input.').^5]*([1.0000 1.0001 0.4991 0.1703 0.0349 0....

9 years ago | 0

Load more