numdiff4.m
来自「求解predator-prey的代码」· M 代码 · 共 31 行
M
31 行
% numdiff4.m
% Matlab file for Part 4 of the Numerical Solutions
% of Differential Equations module
disp('********************************************')
disp('Part 4: Another Initial Value Problem ')
disp('********************************************')
disp(' ')
format short
disp('Edit your dfun.m file for the new DE: ')
disp(' ')
disp(' dy/dt = sin(y) ')
disp(' ')
disp('Then, copy, paste, and edit MATLAB commands ')
disp('from Part 3 to here to carry out the ')
disp('calculations for Part 4. ')
disp(' (You may have to adjust horizontal')
disp(' and vertical scales to see what you')
disp(' need to see.) ')
disp(' ')
disp('-----------------------------------------')
disp('Answer all questions in part 4 as MATLAB')
disp('comments in your diary file.')
disp(' ')
disp(' ')
disp('When you have finished part 4, to go on')
disp('to part 5 of this module, type: numdiff5')
disp(' ')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?