Error using sprintf command

4 ビュー (過去 30 日間)
Nitesh Kumar Singh
Nitesh Kumar Singh 2021 年 9 月 21 日
コメント済み: Nitesh Kumar Singh 2021 年 9 月 22 日
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