Community Profile

photo

Susana Salinas


Last seen: etwa 4 Jahre vor Aktiv seit 2020

Followers: 0   Following: 0

Statistiken

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Reverse a string using a FOR loop
So I have this string array. fair4 = 9×1 string array "The" "reyen" "in" "Speyen" "steyes" ...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How would I write this code without using loops?
x57a= []; for i= 1:1000 if rem(i,5) ==0 || rem(i,7) ==0 if rem(i,5)==0 && rem(i,7) ==0 continue; ...

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
How can I make a for loop a while loop?
Thanks!

etwa 4 Jahre vor | 0

Frage


How can I make a for loop a while loop?
x57a= []; for i= 1:1000 if rem(i,5) ==0 || rem(i,7) ==0 if rem(i,5)==0 && rem(i,7) ==0 continue; ...

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Find the product of every fourth integer between 4 and 44 (i.e., 4×8×12×…×44), storing the result as a
So I generated this array to get every fourth integer from 4 to 44, 4:4:44; but I am confused as to how I would multiply ever...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort