photo

Alexandra Huff


2016년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Help with this problem
Hi. I am trying to solve this problem: Write a function called simple_stats that takes a matrix N as an input and returns th...

7년 초과 전 | 답변 수: 4 | 0

4

답변

질문


If you have an input argument v that is a row-vector and another input a, that is a scalar. How do you have a function that moves every element of v that is equal to a to the end of the vector?
For example, x= move ([1 2 3 4], 2), i want x to equal to [1 3 4 2] thanks an advance

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


my code works for some inputs, but not others
Hi. My function returns a positive integer scalar that is equal to the difference between the ages of the two children in days....

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


How do you have a logical operator of true and false as your type but 0 and 1 as your value?
Hi. I am having trouble with this homework question: Write a function called eligible that helps the admission officer of the G...

거의 8년 전 | 답변 수: 8 | 0

8

답변

질문


How do I fix my code to produce ones along the reverse diagonal?
Hi, I am having a problem with my code. function I = reverse_diag(n) I = zeros(n); I(1: n+1 : n^2)=1; ...

거의 8년 전 | 답변 수: 4 | 1

4

답변

질문


help with this question
Hi, so I am trying to geta function that returns an output, which is the square root of the mean of the squares of the first nn ...

거의 8년 전 | 답변 수: 2 | 1

2

답변

질문


How to find a scalar that contains the average value of the first output?
Hi, I am creating a function that return a matrix of the same size of its input elements containing the sine of the correspondin...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to get a subarray from a matrix
Hi. I am looking to solve this Question: Write a function called top_right that takes two inputs: a matrix N and a scalar non-n...

거의 8년 전 | 답변 수: 3 | 0

3

답변

질문


What is wrong with my code?
Hi. I am trying to write a function that takes two inputs (N and n) and return a n by n array at the top right corner of N. So...

거의 8년 전 | 답변 수: 3 | 0

3

답변

질문


what is wrong with my code
Hi. so i am trying to solve this quetion: Write a function called flip_it that has one input argument, a row vector v, and one ...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


How can I find the sum of the perimeter of a matrix?
Hi, I am wondering if I had a matrix [1,2,3;1,2,3;1,2,3] how I could find the sum of the perimeter. Thanks an advance.

거의 8년 전 | 답변 수: 4 | 0

4

답변