Community Profile

Contact

Top 5% contributor

Star Strider, could you please help me solve this set of four coupled ODEs? tpcl = @(xi,y) [y(2); ((1 + (y(2)*y(2)))^(1.5))*...

0

Answered 2 years ago

Per, How do I make that value real then?! And why would a simple integration result in a complex value at all?

Answered 3 years ago

I am getting the following error while running the code: Attempted to access R1_rk4(17501); index must be a positive integer ...

3 Answers

Asked 3 years ago

How to create a variable (using linspace) for the following configuration: Distance between the first and second point = 0.5h D...

1142 views

Posted 3 years ago

I am trying to solve a 4th order differential equation using shooting method by disintegrating the ODE into four coupled first o...

2 Answers

Asked 2 years ago

Here is my code: I am getting complex values for "T_integral" and that is messing up my temperature profile TSil. Any help will ...

Distance between first and second point and the distance between second last and last point is 0.5h. All other distances between...

Suppose I have a spreadsheet like this: A B C 1: 0 45 87 2: 0 7 8 3: 1 65 68 4: 0 ...

Suppose I have a temperature matrix, T = zeros(Nz+1,Nt+1). Nz are number of elements in the z-axis and Nt are number of elements...

1 Answers

Here is my code. Any sort of help will be appreciated. a = @(x) -(x+3)/(x+1); b = @(x) (x+3)/((x+1).^2); f = @(x) 2*(...

Suppose if I have a matrix like this: Time = [1;2;3;4;5;6;7;8;9;10] Diameter = [1;2;3;4;5;6;7;8;9;10] If I want to ...

How to write: if A(i+2,11) == NaN % Originally posted as: if (i+2,11) == NaN using ISNAN function?

Could somebody help me solve this set of four coupled ODEs? tpcl = @(xi,y) [y(2); ((1 + (y(2)*y(2)))^(1.5))*(y(3) - (A/(y(1)...

0 Answers

Nx = 100;Ny = 20;Nt = 4000; x = 0:10/Nx:10; y = -1:2/Ny:1; t = 0:100/Nt:100; Dx = 10/Nx;Dy = 2/Ny;Dt = 10/Nt; a = 0...

Nx = 100; Ny = 20; Nt = 400; x = 0:10/Nx:10; y = -1:2/Ny:1; t = 0:1/Nt:1; Dx = 10/Nx; % delta x Dy = ...

How to run a function like this in a loop where time is increasing? Radius varying with time: First 2 seconds drops linearly,...

How would I find the roots to this particular function? f(x) = mod((4 + x)/(4 - 3*x)) - exp(i*t) where; mod = modulus...

571 views