문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

3년 초과 전

문제를 풀었습니다


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

3년 초과 전

문제를 풀었습니다


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

3년 초과 전

문제를 풀었습니다


Given two arrays, find the maximum overlap
Given two (integer) arrays s1 and s2, create a new array s3 which is as short as possible and contains both arrays. #1 s1 = [...

3년 초과 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

질문


論理行列において、Trueの個数を各列ごとで数えたい
■やりたいこと 論理行列でTrueの箇所を各列ごとにカウントしたい。 最終的には、列の数が親を表し、Trueの数が子を表すツリーを作成したい。 ■やったこと & 質問 ひとまず、列ごとにTrueをカウントし、列の数を親、Trueの数を子とするツ...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


セル配列に格納されたテーブルデータのラベル名検索
添付画像のようにセル配列にテーブルデータを格納したデータが複数あります。 ■ やりたいこと  複数ファイルにおいて、任意のラベル名で、複数の列データを、上記のようなデータから抽出したい ■ 現状  検索したいラベル名は分かっているのですが、...

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

1

답변