Community Profile

photo

Susana Salinas


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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; ...

4 years ago | 2 answers | 0

2

answers

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

4 years ago | 0

Question


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; ...

4 years ago | 2 answers | 0

2

answers

Question


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...

4 years ago | 1 answer | 0

1

answer