NUMERICAL METHODS ITERATION PROCESS
1 view (last 30 days)
Show older comments
Hello! I am writing a code on MATLAB for an iteration but keep getting the error below. I cannot seem to figure out where the error comes from. Any help will be appreciated.
2 Comments
Aghamarsh Varanasi
on 17 Jun 2021
The error is from the timeJ variable. It seems that the number of elements in array timeJ are less than 1000, which you are querying for in the line
plot(timeJ(1:k+1), normrJ)
If you attach the code as an m file along with all the variables, it would be easy to debug the issue
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!