create vector with for loop

Create a loop to scan through the intersect vector for “true” values ( equal 1). Add an entry to a new vector that is the index of the “true” value. Also increment a counter that will be used to determine the number of intersections.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 19 de Ag. de 2021

0 votos

See the part in Ch 13 of MATLAB Onramp that covers for loops.

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 19 de Ag. de 2021

Respondida:

el 19 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by