Community Profile # Hazel Can

Last seen: 9 dagen ago Active since 2022

#### Statistics

• View by

### 1

Question

How can i run correctly my Backward Difference Formula code ?
%% Backward Difference Formula Method %% clc; clear all; h=0.01; t=0:h:1; n=numel(t); mu = 20; f_m = @(t,y) mu*(y-cos(t)...

2 maanden ago | 1 answer | 0

### 1

Question

How i implement Backward Difference Formula Method from general code ?
Below is the Backward Difference Formula general code. How can I adapt this code to the above question? Can you please help? ...

3 maanden ago | 0 answers | 0

### 0

Question

How i implement Adams Predictor-Corrector Method from general code ?
Below is the Adams predictor-corrector formula and general code. How can I adapt this code to the above question? Can you plea...

3 maanden ago | 1 answer | 0

### 1

Question

Not enough input arguments.
Not enough input arguments. Error in BDF>@(t,y)mu*(y-cos(t))-sin(t) (line 7) f_m = @(t,y) mu*(y-cos(t))-sin(t); Error i...

3 maanden ago | 2 answers | 0

### 2

Question

Array indices must be positive integers or logical values.
Array indices must be positive integers or logical values. Error in adambashforthalternatif (line 14) y_m(i)=y_m(i-1)+...

3 maanden ago | 1 answer | 0

### 1

Question

Error using plot Vectors must be the same length.
Error using plot Vectors must be the same length. Error in midpointfinal (line 33) plot(t,y_m,'-o') clc; clear all; h=...

3 maanden ago | 1 answer | 0

### 1

Question

Index in position 1 is invalid. Array indices must be positive integers or logical values.
Index in position 1 is invalid. Array indices must be positive integers or logical values. Error in midpointfinal (line 21) ...

3 maanden ago | 2 answers | 0

### 2

Question

How can I continue my Leapfrog method code ?
How can I continue my Leapfrog / midpoint two- step method code ? clc; clear all; t=[0 1]; h=0.01; n=(t(2)-t(1))/h; alpha=...

3 maanden ago | 1 answer | 0

### 1

Question

Index exceeds the number of array elements. Index must not exceed 2.
Hi. I have an error : Index exceeds the number of array elements. Index must not exceed 2. for line 16. Why ? and How can i fix ...

3 maanden ago | 2 answers | 0