Community Profile

photo

Yoshimasa Nakatani


Last seen: Today

Shiseido Co Ltd

108 2016 이후 총 참여 횟수

담당자

Yoshimasa Nakatani's 배지

  • Promoter
  • Commenter
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


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

약 16시간 전

해결됨


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

약 17시간 전

해결됨


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

2일 전

해결됨


Create a vector
Create a vector from 0 to n by intervals of 2.

2일 전

해결됨


Find max
Find the maximum value of a given vector or matrix.

2일 전

해결됨


Inner product of two vectors
Find the inner product of two vectors.

2일 전

해결됨


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

2일 전

해결됨


Reverse a matrix
Its simple. You have to reverse a given matrix.

5일 전

해결됨


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

6일 전

해결됨


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

6일 전

해결됨


Min of a Matrix
Return the minimum value in the given matrix.

6일 전

해결됨


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

8일 전

해결됨


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

8일 전

해결됨


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

8일 전

해결됨


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

8일 전

해결됨


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

8일 전

해결됨


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

8일 전

해결됨


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

8일 전

해결됨


The proportion of NaN in the data
If NaN occupies less than half of the input data, return 1, otherwise return 0. eg. input x = [1 2 NaN ; 4 NaN 6] >>> out...

9일 전

해결됨


Please check if calorie intake is less than 300 kcal.
I like eating some puddings and some chocolate cookies around 3 o'clock. However, I care about calorie intake. Please check whe...

10일 전

해결됨


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

11일 전

해결됨


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

12일 전

해결됨


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

12일 전

해결됨


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

12일 전

해결됨


Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.

14일 전

해결됨


Square a Number
Given an input x, return y, which is equal to the square of x.

14일 전

해결됨


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

14일 전

해결됨


Max of a Vector
Write a function to return the max of a vector

14일 전

해결됨


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

22일 전

해결됨


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

22일 전

Load more