Error using sprintf command

4 次查看(过去 30 天)
sprintf('Iteration: %d, Sum: %d, difference: %d',a, SUMSED(a,1), diff_(a,1))
The system cannot find the path specified.
Unrecognized function or variable 'SUMSED'.
  7 个评论
Image Analyst
Image Analyst 2021-9-21
Why are you not using the sum(), cumsum(), and diff() functions to do this?
Nitesh Kumar Singh
Nitesh Kumar Singh 2021-9-22
i have change sumsed to Q and diff_ to q_dot and its working well.
Actually sir i am studying a someon else's code @Image Analyst.

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by