Holly Martin
Content Feed
提问
Index exceeds the number of array elements (1)
Hi, Im doing an assignment where my script should repeats forward euler for different step sizes h between 0.1V/g and 0.001V/...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to get final value from iteration rather than block of numbers
Hi, Ive written code for Eulers method for an equation of motion for an academic assignment, and I need to return values for z ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Getting an error message and don't know how to fix
I have code that looks like this % The loop for i=1:N-1 v=diff(z); v(i+1) = v(i) + h*(((-g-k*(abs(v)).^p)*V)/m); ...
4 years 前 | 1 个回答 | 0