![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13793091_1538956530050_DEF.jpg)
adena0
Followers: 0 Following: 0
Feeds
提问
How can I use a while loop to check if user input is an integer?
I want the user to input a non zero even interger. However with my current code, even non zero intergers like '2' aren't recogni...
5 years 前 | 1 个回答 | 0
1
个回答提问
How do I use a while loop to keep asking for input of even numbers?
How do I aks user to input an even number but if the number is odd or equal to 0, it should keep asking for input?
5 years 前 | 1 个回答 | 0
1
个回答提问
How can my script calculate 1^3 + 2^3 + ⋯ + 10^3 + 11^3 using a for/while loop in matlab?
I'm interested to see how I could calculate 1^3 + 2^3.... 11^3 using for/ while loops. If I used vectors, how would this differ...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to index a random matrix with set conditions?
How can I find elements within a random matrix M (5x5) that are negative or are between 20 and 40?
5 years 前 | 1 个回答 | 0