Error using sprintf command

조회 수: 1 (최근 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