I have an expression error in my code

1 view (last 30 days)
Ali
Ali on 30 May 2023
Commented: Rik on 31 May 2023
  2 Comments
Torsten
Torsten on 30 May 2023
Edited: Torsten on 31 May 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 on 31 May 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.

Sign in to comment.

Answers (1)

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

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!