photo

Hazel Can


Last seen: 7 maanden ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How can i solve the Too many output arguments error problem ?
clc clear syms x f=input('\n Enter the function f(x): '); %inline('((x^2)*log(x))') f=@ (x) (x^2)*log(x) a=input('Enter low...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


How can I switch from Simpson code to composite simpson code?
Composite simpson rule : Simpson rule's code : % MATLAB code for syms function that creates a variable % dynamically and au...

bijna 2 jaar ago | 0 answers | 0

0

answers

Question


How can i implement my method ?
I know the classic newton method but i can not implement the fourier form please help me. %Newton-Raphson method clear; clc...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


Can you help me about newton fourier method please ?
Can you help me about newton fourier method please ?

ongeveer 2 jaar ago | 0 answers | 0

0

answers

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

meer dan 2 jaar 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? ...

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar 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...

meer dan 2 jaar 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)+...

meer dan 2 jaar 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=...

meer dan 2 jaar 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) ...

meer dan 2 jaar 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=...

meer dan 2 jaar 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 ...

meer dan 2 jaar 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...

meer dan 2 jaar ago | 1 answer | 0

1

answer