Resuelto


Integer Sequence - II : New Fibonacci
Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...

alrededor de 5 años hace

Resuelto


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


Positive Infinity
Round the array a towards positive infinity

alrededor de 5 años hace

Resuelto


Values in Array
How many values are in the array

alrededor de 5 años hace

Resuelto


Prime Letters = Removing
Given a string, remove all the letters which in ASCII Code are prime numbers. For Example: s1 = 'Determine which array e...

alrededor de 5 años hace

Resuelto


pressure to dB?
given x ratio of pressure, find corresponding y dB

alrededor de 5 años hace

Resuelto


interesting center of magic matrix
output the centre of magic matrix of n input=7; output=25

alrededor de 5 años hace

Resuelto


union without repitition
Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

alrededor de 5 años hace

Resuelto


Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA'

alrededor de 5 años hace

Resuelto


Finding sum of even numbers in a vector.
Find the sum of all the even numbers present in the input vector x. Examples: Input x = [1 2 3 4] Output y is 6 Input...

alrededor de 5 años hace

Resuelto


Chào các bạn.
Cho 3 số. Tính tổng của chúng

alrededor de 5 años hace

Resuelto


COUNT VOWEL
Count, how many times vowels occurred. EXAMPLE: x='string the MaTLaBiAn' then the answer will be 6. x='coUnt the vowEl' th...

alrededor de 5 años hace

Resuelto


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

alrededor de 5 años hace

Resuelto


Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

alrededor de 5 años hace

Resuelto


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

alrededor de 5 años hace

Resuelto


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

alrededor de 5 años hace

Resuelto


対称で、n*2n のサイズの行列を作成しましょう
サイズが n*2n の "mirror" 行列(対称行列)を作成しましょう。 例: n=2 の場合、以下のような出力を返します。 m = [ 1 2 2 1 1 2 2 1 ] n = 3 の場合、以下のよう...

alrededor de 5 años hace

Resuelto


英語の文章内の母音を取り除くコードを書きましょう。
与えられた英語の文章内の母音を取り除きましょう。 例: 入力 s1 が 'Jack and Jill went up the hill' の場合、 出力 s2 は 'Jck nd Jll wnt p th hll' * (英語版) ...

alrededor de 5 años hace

Resuelto


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


NaN (欠損値) が含まれている行を削除しよう
行列 A が与えられたとき、その行列の中に NaN (Not a number; 欠損値) の要素がある行を見つけ出し、その行を削除しましょう。 例: A = [ 1 5 8 -3 NaN 14 ...

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


ゼロでない要素が一番多い行を探そう
行列 a が与えられたとき、行列 a の中で一番ゼロの要素が少ない行のインデクス r を返す関数を作成しましょう。このとき、行列 a には一つだけしかこの条件に当てはまる行がないと仮定します。 例: 入力として、行列 a = [ 1 ...

alrededor de 5 años hace

Cargar más