I've attached my code below. I keep getting the issue of incorrect indexing but I'm not sure why this is as I have defined my for loop starting at 1. If someone could take a quick look and help me that would be great. I feel like I'm just overlooking something. The error occurs in line 36
MATLAB: Index in position 1 is invalid. Array indices must be positive integers or logical values.
indexing
Related Question
- Integrating over integral error “A and B must be floating point scalars.”
- Would polyspace report “memset is dead code”
- How to call to function from other function
- Matlab editor: the function might be unused
- How to partition a C source file which calls several void functions that act on global variables into separate C-MEX S-Function blocks in Simulink 8.0 (R2012b)
- Function names as variables
Best Answer