I have an expression error in my code

2 个评论

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.
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.

请先登录,再进行评论。

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

提问:

Ali
2023-5-30

评论:

Rik
2023-5-31

Community Treasure Hunt

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

Start Hunting!

Translated by