Community Profile

# Noriko Hounoki

649 total contributions since 2016

View details...

Contributions in
View by

Solved

Positive Infinity
Round the array a towards positive infinity

bijna 2 jaar ago

Solved

Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

bijna 2 jaar ago

Solved

Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

bijna 2 jaar ago

Solved

Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

bijna 2 jaar ago

Solved

ongeveer 2 jaar ago

Solved

currency converter
given a rate of exchange calculate the equivalent units of 100 USD

ongeveer 2 jaar ago

Solved

Problem 44444 !!! free beer everyone
just say hallelujah to resolve this problem

ongeveer 2 jaar ago

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

ongeveer 2 jaar ago

Solved

ongeveer 2 jaar ago

Solved

Sum of adjacent elements in a vector
Given a vector v, return a vector s containting the sum of every two adjacent elements in the vector. Every element s(i) cont...

ongeveer 2 jaar ago

Solved

started with 3 cookies and you never ate any how many are left

ongeveer 2 jaar ago

Solved

ベクトル b にあるスカラ値 a が含まれていれば出力として 1 を返し、含まれていなければ 0 を返すような関数を作成しましょう。 例: a = 3; b = [1,2,4]; スカラ値 3 はベクトル b に含まれていない...

ongeveer 2 jaar ago

Solved

テレビのサイズを求めてみよう
あなたは電気屋で働いています。 あなたの電気屋にテレビを買いに来たお客さんに「何インチのテレビを買いたいのか」と質問したところ、対角線の情報しかわからないと言われてしまいました。 しかし、テレビのインチを知るには、幅と高さの情報が必要です。 ...

ongeveer 2 jaar ago

Solved

What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

ongeveer 2 jaar ago

Solved

ゼロでない要素が一番多い行を探そう

ongeveer 2 jaar ago

Solved

NaN (欠損値) が含まれている行を削除しよう

ongeveer 2 jaar ago

Solved

Horizontal matrix sort
Given a matrix x with n rows and m columns, return a matrix y with n rows and 2m columns, such that every row in x is sorted fro...

ongeveer 2 jaar ago

Solved

ongeveer 2 jaar ago

Solved

Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

ongeveer 2 jaar ago

Solved

ongeveer 2 jaar ago

Solved

ある数のベクトルが与えられた場合、そのベクトルの要素の一つが他の要素の二乗であれば true を返し、それ以外の場合は false を返すようなコードを書いてみましょう。 例: 入力が a = [2 3 4] のとき、 出力 b は t...

ongeveer 2 jaar ago

Solved

How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma. ...

ongeveer 2 jaar ago

Solved

DNA N-Gram Distribution
Given a string s and a number n, find the most frequently occurring n-gram in the string, where the n-grams can begin at any poi...

ongeveer 2 jaar ago

Solved

Determine whether the input is odd, even, or neither.
Make a function that returns ‘odd’ if the input is odd, ‘even’ if the input if even or ‘error’ if the input is neither odd nor ...

ongeveer 2 jaar ago

Solved

ベクトルの値が増加しているかを調べましょう
ベクトルの値が増加している場合 (ベクトルの各要素が前の要素よりも大きい場合) には true を、そうでない場合には false を返すようなコードを書いてみましょう。 例: 入力が x = [-3 0 7] のとき、 関数の...

ongeveer 2 jaar ago

Solved

Find the index of the first occurrence of a value in a matrix
Given a matrix of scalars, find the first occurrence of -1 in each column. Output NaN for a column which does not contain the va...

meer dan 2 jaar ago

Solved

Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

meer dan 2 jaar ago

Solved

Replace all zeros and NaNs in a matrix with the string 'error'
Given a numeric input matrix A, possibly containing some zero values and some NaNs, replace any occurrences of zero or NaN with ...

meer dan 2 jaar ago

Solved

String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

meer dan 2 jaar ago

Solved

Sum two matrices
Take two incoming matrices, and sum them

meer dan 2 jaar ago