NUMERICAL METHODS ITERATION PROCESS
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
Aghamarsh Varanasi
2021-6-17
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!