Convert Matrix to binary format

Hi,
I have a matrix of (365,40) precipitation values. I need to convert it to binary matrix format to obtain zeros (0) for < 0.1 mm precipitation amounts and 1 for >0.1 mm precipitation amounts in MATLAB. What's the easiset way to do it? Any help is appreciated.
Thanks.

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 8 de Mzo. de 2014
out=your_array>0.1

Más respuestas (0)

Categorías

Más información sobre App Building en Centro de ayuda y File Exchange.

Preguntada:

el 8 de Mzo. de 2014

Comentada:

el 8 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by