🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Nishant Thu, 18 May 2006 16:09
Counting number of zeros in an array
#232
Author: Nishant
Date: Thu, 18 May 2006 16:09
23 lines
1414 bytes
Hi all,
         i want to find a mat lab algorithm in order to count number of
zeros in any given matrix

for eg

Given Matrix A:

1 0 1 1
0 0 1 1
2 2 3 3
2 2 4 0


the required matlab code should give me the no of zeros as 4

Please post your views on the topic.

thanks

Nishant

nishantxl@rediffmail.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads