photo

Jorge Briceño


Last seen: 3 years 前 自 2018 起处于活动状态

Followers: 0   Following: 0

统计学

  • First Answer

查看徽章

Feeds

排序方式:

提问


Number of first days of the month equals to Mondays
Hello guys, I have an assignment that states: "Write a function called day_counter that returns the number of Mondays that fe...

6 years 前 | 4 个回答 | 0

4

个回答

已回答
The function move_me is defined like this: function w = move_me(v,a). The first input argument v is a row-vector, while a is a scalar. The function moves every element of v that is equal to a to the end of the vector.
Hi, This answer might be helpful: function w= move_me(v,a) % The first input argument v is a row-vector, while a is a s...

7 years 前 | 0

已回答
c0 and x are scalars, c - vector, and p - scalar. If c is [ ], then p = c0. If c is a scalar, then p = c0 + c*x . Else, p =
Here is my solution: function p = poly_val(c0,c,x) format long n=(1:1:length(c)); c=c(:)' & This part converts any array...

7 years 前 | 1

已回答
How do you have a logical operator of true and false as your type but 0 and 1 as your value?
Hi Alexandra, Maybe another alternative would be: function [isEligible]=eligible( v,q ) Your_Output_Name= v>88 && q>...

7 years 前 | 2