-------------------------------------------- Count the number of zero crossings! -------------------------------------------- Write a function that returns the number of zero crossings of the sequence of elements in vector. Syntax: n = zerocrossings(v) -------------------- where v is a vector representing the sequence of numbers, n is the number of zero crossings of the sequence in the vector v. Basic functionality: >> v = [1 2 -1 -3 9 -2 12] v = 1 2 -1 -3 9 -2 12 >> n = zerocrossings(v) n = 4 -------------------------------------------