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 个评论
Mathieu NOE
Mathieu NOE 2021-6-16
hello
you should also post the code itself not just a screen shot
Aghamarsh Varanasi
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 CenterFile Exchange 中查找有关 Entering Commands 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by