Statistics
科迪
0문제
18해답
순위
N/A
of 262,805
평판
N/A
참여
0질문
0답변
답변 채택
0.00%
획득한 표
0
순위
14,634
of 113,796
참여
0문제
18해답
점수
230
배지 수
1
참여
0 게시물
참여
0공개 채널
평균 평점
참여
0Highlights
AVERAGE NO. OF LIKES
Content Feed
해결됨
Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 =...
5년 이상 전
해결됨
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
5년 이상 전
해결됨
Extract part elements of matrix into one new matrix
Given a matrix that includes different nonzero and zero entries, extract the nonzero elements and form a new matrix. The new mat...
5년 이상 전
해결됨
Fibonacci sequence
计算第n个斐波那契数。鉴于n,回报n f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
5년 이상 전
해결됨
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
5년 이상 전
해결됨
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
5년 이상 전
해결됨
Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle:
5년 이상 전
해결됨
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...
5년 이상 전
해결됨
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
5년 이상 전
해결됨
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...
5년 이상 전
해결됨
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
5년 이상 전
해결됨
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
5년 이상 전
해결됨
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 ...
5년 이상 전
해결됨
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
5년 이상 전
해결됨
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:...
5년 이상 전
해결됨
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
5년 이상 전