I have a cell like this:

`cell={[1], [1 3 4], [],... [], [3 4], [3 4], [3 4]}`

I need to check if all elements of cell are equal or not.

I tried to use isequal, but it did not work.

How can I do that?

Skip to content# MATLAB: Comparision of cell elements

###### Related Question

cell

I have a cell like this:

`cell={[1], [1 3 4], [],... [], [3 4], [3 4], [3 4]}`

I need to check if all elements of cell are equal or not.

I tried to use isequal, but it did not work.

How can I do that?

- How to make cell filttering
- Group array in a cell according to their size
- Subtract two matrices each with NaN values in different cells
- How to find a difference between two cell arrays containing vectors
- Replacing nans and greater than
- Help with cell subsindex
- Cellfun(@isnan) and erasing NaN
- How to divide a long vector into several vectors of known length

## Best Answer