create vector with for loop

1 vue (au cours des 30 derniers jours)
Abdullah Alawad
Abdullah Alawad le 19 Août 2021
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.

Réponses (1)

Cris LaPierre
Cris LaPierre le 19 Août 2021
See the part in Ch 13 of MATLAB Onramp that covers for loops.

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by