Community Profile |

Electrical Engineering professor. Coauthor of the "Mastering MATLAB" book series.

Top 1% contributor

**711**Contributions

Press the Control key and letter C key down simultaneously. Duane "Mastering MATLAB 7"

*43679* views

Responded 9 years ago

Too quick with the submit button sum(A(:)==0)

*19295* views

Responded 9 years ago

sum(A(:))

*19295* views

Responded 9 years ago

I don't understand the need for disrespectful dialog about this issue.

*19271* views

Responded 8 years ago

There is a function in the MATLAB File Exchange that does what you want. Duane

*17647* views

Responded 8 years ago

Use Cell Arrays ydata=cell(n,1); tdata=cell(n,1); Duane

*9267* views

Responded 8 years ago