how to know if cell has some empty values

I have cell array. How do I check that if column 3 has some empty values or not?

 Akzeptierte Antwort

Stephen23
Stephen23 am 10 Jan. 2022

1 Stimme

Where C is your cell array:
any(cellfun(@isempty,C(:,3)))

Weitere Antworten (0)

Produkte

Gefragt:

am 10 Jan. 2022

Beantwortet:

am 10 Jan. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by