I have an expression error in my code

4 vues (au cours des 30 derniers jours)
Ali
Ali le 30 Mai 2023
Commenté : Rik le 31 Mai 2023
  2 commentaires
Torsten
Torsten le 30 Mai 2023
Modifié(e) : Torsten le 31 Mai 2023
Do you think it's fair to edit away the question after it has been solved ?
Worse: you did not even accept the correct answer that has been given.
Rik
Rik le 31 Mai 2023
I recovered the removed content from the Google cache (something which anyone can do). Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.

Connectez-vous pour commenter.

Réponses (1)

Voss
Voss le 30 Mai 2023
Use single quotes instead of double quotes around omitnan, as in:
cc=sum(bb,'omitnan');

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by