How to find a value that fits algorithm?
Mostrar comentarios más antiguos
Hi all,
I'm trying to create a program to find a specific data value. I have a list of a bunch of numbers, and I want to find the first one after which there are four increasing numbers, then, in the next five numbers, no two decreases consecutively. Example: 1 2 3 4 5 6 5 6 7 would return 1. Mostly, my problem is handling the indices on this (getting it to shift one number down every time), and the different loops. Any help appreciated!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!