Susana Salinas
Followers: 0 Following: 0
Feeds
提问
Reverse a string using a FOR loop
So I have this string array. fair4 = 9×1 string array "The" "reyen" "in" "Speyen" "steyes" ...
5 years 前 | 1 个回答 | 0
1
个回答提问
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; ...
5 years 前 | 2 个回答 | 0
2
个回答提问
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; ...
5 years 前 | 2 个回答 | 0
2
个回答提问
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...
5 years 前 | 1 个回答 | 0