create vector with for loop

1 Ansicht (letzte 30 Tage)
Abdullah Alawad
Abdullah Alawad am 19 Aug. 2021
Beantwortet: Cris LaPierre am 19 Aug. 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.

Antworten (1)

Cris LaPierre
Cris LaPierre am 19 Aug. 2021
See the part in Ch 13 of MATLAB Onramp that covers for loops.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by