Error using sprintf command
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Image Analyst
le 21 Sep 2021
Why are you not using the sum(), cumsum(), and diff() functions to do this?
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!