I have an expression error in my code

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

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

Categories

Asked:

Ali
on 30 May 2023

Commented:

Rik
on 31 May 2023

Community Treasure Hunt

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

Start Hunting!