Find Sign(Zero Crossing) Changes in Array - MATLAB Cody - MATLAB Central

Problem 2704. Find Sign(Zero Crossing) Changes in Array

Difficulty:Rate
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1];
ans;
[1 2 0 -3 -4 -1 0 2 0 -1 0 3 1]

Solution Stats

7.22% Correct | 92.78% Incorrect
Last Solution submitted on Aug 29, 2023

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers5

Suggested Problems

Problem Tags

Community Treasure Hunt

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

Start Hunting!