Feeds
提问
How do I solve for a variable?
I am trying to solve for a variable, and I'm pretty sure I have the code written correctly but for some reason it doesn't like i...
10 years 前 | 1 个回答 | 0
1
个回答提问
So I'm getting the error "Attempted to access Example3(0,0.5); index must be a positive integer or logical. Error in ME237_CR2_1 (line 21) K_1 = Example3(t(i),w(i));. I'm not quite sure why this is happening. Does anyone have any recommendations?
Here is my full code, I'm trying to estimate w using the Runge-Kutta Method clc close all clear all Example3='w-t^2+...
10 years 前 | 1 个回答 | 0