Frage


Not enough input arguments when doing global optinisation
I am trying to use the global optimisation toolbox to find some parameters which will make a computed curve overlay some experim...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


lsqcurvefit doesn't curve fit
I have a model which I want to paramtrise using lsqcurvefit. I have 10 parameters that I must find and I have 10 pieces of data ...

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Error using lsqcurvefit (line 262) Function value and YDATA sizes are not equal.
I am using the following code: %Import data as time and voltage: load VoltageData.mat; load('OCP_Cathode.mat'); %Load the O...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding the multiple zeros within a prescribed interval
I wish to solve the nonlinar function: =0 within a prescribed interval, say (0,100] say, I'm aware of usi...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Optimisation of parameters in a PDE
Hi, Suppose I am dealing with the heat equation: ∂T/∂t=α∂^2T/∂x^2 and I have some data which I want to fit it to and determ...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Solution diverges for 1D heat equation using Crank-Nicholson
I am trying to solve the 1D heat equation using the Crank-Nicholson method. I have managed to code up the method but my solution...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
System of PDEs which is tricky for PDEPE
I have some values which allow the code to run BUT I have oscillations in the diffusion which I should not get. I am assuming th...

fast 6 Jahre vor | 0

Beantwortet
Variable density in heat diffusion equation
So I used the following code: function [CC, FF, SS]=battery_GE(x,t,u,DuDx) global rho; global c_th; global a_1;globa...

fast 6 Jahre vor | 0

Beantwortet
Variable density in heat diffusion equation
So I do the interp1 trick you demonstrated before?

fast 6 Jahre vor | 0

Frage


Variable density in heat diffusion equation
Suppose I have a heat diffusion equation: rho(x)*c(x)*dT/dt=d/dx(k(x)*dT/dx) Where rho(x) is the density, c(x) is the heat...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Problems with pdepe and input variables
I have played around with my code and have the following code for pdepe which looks as if it should work: function battery_...

fast 6 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
System of PDEs which is tricky for PDEPE
So I managed a work around to get pdepe to work with my system and the code I'm using is: %This is the simplistic model of ...

fast 6 Jahre vor | 0

Frage


System of PDEs which is tricky for PDEPE
I have a system of PDEs, mainly diffusion equations of the form: T_t-(k(x)(T_x)_x=a*E^2 c_t-(D(x)*c_x)_x=d*(E_x+c_x-T_x) ...

fast 6 Jahre vor | 5 Antworten | 0

5

Antworten