Community Profile

photo

Hazel Can


Last seen: 17 días ago Active since 2022

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

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)...

3 meses ago | 1 answer | 0

1

answer

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 meses ago | 0 answers | 0

0

answers

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 2 answers | 0

2

answers

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 2 answers | 0

2

answers

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 2 answers | 0

2

answers

Question


Why am I getting an : Error using sym/subsasgn (line 1058) Invalid indexing or function definition. Indexing must follow MATLAB indexing. Function arguments must be symbolic
Hello, I am writing a code to solve my Forward Euler Method question. I added my question here. I am encountering an error whi...

5 meses ago | 0 answers | 0

0

answers