Community Profile

photo

越 傅


Last seen: 2年以上 前 2021 年からアクティブ

Followers: 0   Following: 0

統計

  • Solver
  • Promoter

バッジを表示

Feeds

表示方法

解決済み


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

2年以上 前

解決済み


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

2年以上 前

解決済み


Legend of Zelda - Rupee Count (Compact)
Building off of <https://www.mathworks.com/matlabcentral/cody/problems/3025-zelda-rupee-count Problem 3025>, suppose that Link's...

2年以上 前

解決済み


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

2年以上 前

解決済み


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...

2年以上 前

解決済み


F.R.I.E.N.D.S

2年以上 前

解決済み


3n + 1 Problem (a.k.a The Collatz Conjecture)
The 3n + 1 problem (a.k.a The Collatz Conjecture) Consider the following algorithm to generate a sequence of numbers. Start wit...

2年以上 前

解決済み


length of a vector
Find twice the length of a given vector.

2年以上 前

解決済み


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2年以上 前