Error using sprintf command

1 visualización (últimos 30 días)
Nitesh Kumar Singh
Nitesh Kumar Singh el 21 de Sept. de 2021
Comentada: Nitesh Kumar Singh el 22 de Sept. de 2021
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 comentarios
Image Analyst
Image Analyst el 21 de Sept. de 2021
Why are you not using the sum(), cumsum(), and diff() functions to do this?
Nitesh Kumar Singh
Nitesh Kumar Singh el 22 de Sept. de 2021
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.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by