Community Profile

photo

Torsten


Last seen: Today 2013 年からアクティブ

統計

  • Most Accepted 2023
  • Most Accepted 2022
  • Explorer
  • Master
  • 36 Month Streak
  • Revival Level 2
  • Knowledgeable Level 5
  • First Answer

バッジを表示

Content Feed

表示方法

回答済み
Find a weight matrix and bias which performs the following binary classification
Write your own hardlim function (see below) or license the Deep Learning Toolbox. N = -1+2*rand(10,5) S1 = my_hardlim(N) fu...

約9時間 前 | 0

回答済み
PDE Model Boundary Conditions
If you output state.x and state.y in the function, you can see to which evaluation points state.u belongs.

1日 前 | 0

回答済み
How to supply Hessian for interior-point in fmincon in the objective function and not a separate function
I didn't think until the end, but maybe this procedure also helps in your case: https://uk.mathworks.com/help/optim/ug/objectiv...

1日 前 | 1

回答済み
optimising a parameter not directly involved in the objective function to be minimised
t_exp = ...; Cb_exp = ...; % experimental data KA =...; KV =...; p =...; D =...; Cs =...; mo =...; Ni =...; V =...;...

1日 前 | 0

回答済み
Monte-Carlo Analysis of fmincon optimization is converging to infeasible point
I guess log((MC(1) - x(7)) becomes complex-valued because MC(1)-x(7) becomes negative. Complex-valued constraints have to be avo...

1日 前 | 0

回答済み
Solving system of coupled nonlinear discretized equations with fsolve using boundary conditions
Use "bvp4c". Additionally, I don't understand why you set F(z,1)=(N_H2O(z+1)-N_H2O(z-1))/(2*dz); F(z,2)=(N_H2(z+1)...

1日 前 | 0

回答済み
I want to solve the Lyapunov equation with matlab
You can also do it this way, but your system does not seem to have a solution: % Définition des matrices du système A = [0 1;0...

2日 前 | 0

回答済み
When I test this code which is shown below. I got an error of " not enough input arguements". How can i solve this error?
ga will call your function "power_flow_cap" with one input argument. Your function has three inputs (capsz,ncap,capplc). I don'...

2日 前 | 0

| 採用済み

回答済み
How to perform correct numerical integration of equations containing Bessel functions ?
I suspect you want exp(-zeta^2/(4*0.0277)) instead of exp(zeta^2/(4*0.0277)) in your integrand. And why do you add the same Bes...

2日 前 | 0

回答済み
Trouble with fmincon - minimizing a vector
The appropriate objective is to minimize -sum(similiarityvalues.^2)

2日 前 | 1

| 採用済み

回答済み
Get solution for a linked multi-stage BVP
How do I model this problem? By solving it as a multipoint boundary value problem: https://uk.mathworks.com/help/matlab/math/s...

2日 前 | 0

| 採用済み

回答済み
Boundary Value Problem based on specific problem
x(0) = 0 gives C1 = 0, x'(0) = 0 gives C2 = 0. Thus the solution of your equation is x = 0 for all t.

2日 前 | 1

| 採用済み

回答済み
odeToVectorField takes forever to run
Are you sure you want to differentiate with respect to functions of t (like theta1, theta1_dot, theta2_dot) ? drn1 = diff(r1,th...

3日 前 | 0

回答済み
Solve second-order ODE with Robin boundary condition
syms x y(x) A B C a b dy = diff(y,x); eqn = diff(x^2*dy,x)-2*y == 0; cond1 = A*dy(a)+B*y(a)/a == 0; cond2 = A*dy(b)+B*y(b)/b...

3日 前 | 0

| 採用済み

回答済み
I want to solve the Lyapunov equation with matlab
Use MATLAB's "lyap" or "dlyap".

3日 前 | 0

回答済み
Is matlab able to solve a system of coupled PDE and ODE?
Setting c = 0 in "pdefun" deletes the time derivative of the respective equation and makes the equation an elliptic one. But y...

3日 前 | 0

回答済み
graph is the not plotted as desired because of tolerance level
dydx(5) = (-t4./(1-1i.*H1)).*y(4); instead of dydx(5) = (-t4./(1-1i.*H1)).*y(3); in your function definition. I didn't look...

4日 前 | 0

| 採用済み

回答済み
Having trouble with lsqcurvefit for a heat transfer experiment.
The calls to lsqcurvefit must be h_freebrass = lsqcurvefit(T_free_brass2,10,x,T_free_brass) h_freecopper = lsqcurvefit(T_free_...

4日 前 | 0

回答済み
Error using pdepe Unexpected output of PDEFUN. For this problem PDEFUN must return three column vectors of length 2
The size of "f" is 4x1 instead of 2x1 (see above). Further, if your x-mesg starts at r=0 and you choose m=2, it must hold that ...

4日 前 | 0

| 採用済み

回答済み
How can I plot a graph by varying two parameters a and b in system of ODE at the same time?
A = [1;2;3]; B = [2;3;4]; C = 10000; d = 2; e = 5; g = 1; tspan = [0 5]; for i = 1:numel(A) a = A(i); b = B(i);...

5日 前 | 1

| 採用済み

回答済み
How to find same values in a randi function
Hand = randi(13,[1,5]) arrayfun(@(i)nnz(Hand==i),1:13)

5日 前 | 0

回答済み
how can I calculate my expression with double integration?
Maybe you mean this, but I'm not sure: D = 100; e_f = 1.88e-18; m = 9.11e-31; k_b = 1.38e-23; h_bar = 1.05e-34; ksi = 1e-9...

5日 前 | 0

回答済み
I need to solve a system composed by four coupled equations: three ODE and one algebric non-linear equation.
You can try a differential-algebraic solver like ode15s that accepts a mixture of differential and algebraic equations by defini...

5日 前 | 0

| 採用済み

回答済み
fsolve with bound constraints - transformation method
Transformation and initial values are two independent problems that both have to be solved. You cannot compensate "bad" initial ...

6日 前 | 0

回答済み
implicit numerical method: 1-D unsteady state heat transfer using finite difference method
pde() function pde() % Constants Ly = 0.0015; % Total thickness of the system (meters) T = 40; % Total s...

6日 前 | 1

| 採用済み

回答済み
Interpolating data to get values at specific depth
Make X and Y also 224x164x37 (just by repeating the planar profile 37 times) and use interp3 to interpolate to the depth of your...

7日 前 | 2

| 採用済み

回答済み
How can I find the vector that simultaneously maximizes my two functions?
Usually, you can't find a vector that maximizes both of your functions simultaneously. You can compute the pareto-front for your...

7日 前 | 1

回答済み
Solving nonlinear system of PDE by using finite difference method for spatial and RK4 for time derivative?
You need two boundary conditions for Tap, one boundary condition for Tsg and one boundary condition for Tag. Your equation for ...

8日 前 | 0

回答済み
PDE solve with bvp4c
Take a look here on how boundary value problems with two regions (in your case -1 to 0 and 0 to 1) have to be set up for bvp4c: ...

9日 前 | 0

回答済み
Solve a system of nonlinear differential equations
Define the unknown functions as y(1) = F, y(2) = dF/dx, y(3) = G, y(4) = dG/dx, y(5) = H. Then the equations are dy(1)/dx = y(...

9日 前 | 1

さらに読み込む