Community Profile

photo

Risuna Maluleke


Last seen: 10 Monate vor Aktiv seit 2021

Followers: 0   Following: 0

Statistiken

  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How do I use an if-else structure inside a for loop to investigate if each component of a row vector is inside or outside the boundaries?
a = 1; b = 10; c = 20; vec = [a, b, c]; for i=1:numel(vec) v=vec(i); if 5<=vec<=15; print("...

mehr als 2 Jahre vor | 0