Community Profile

photo

Risuna Maluleke


Last seen: 10 mesi fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
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("...

oltre 2 anni fa | 0