![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7041781_1522119713117_DEF.jpg)
Kevin Hartman
Followers: 0 Following: 0
Feeds
已解决
Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...
4 years 前
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
4 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
4 years 前
提问
How do I generate a string during a loop
I'm looking to generate a string, such as 'grape', when a certain value, say, 0.5, is encountered during a loop. How do I do th...
7 years 前 | 0 个回答 | 0