Community Profile

photo

shinya matsumoto


Last seen: Today Active since 2022

Spoken Languages:
Japanese

Statistics

  • Project Euler I
  • Scholar
  • Draw Letters
  • CUP Challenge Master
  • Cody Challenge Master
  • Introduction to MATLAB Master
  • Cody Problems in Japanese Master
  • Community Group Solver
  • Solver

View badges

Content Feed

View by

Solved


Generate pi using logarithm
Generate pi using logarithm

circa 9 ore ago

Solved


Product of Array
Given an array of numbers. Get the product of the array.

circa 9 ore ago

Solved


Matlab Basics - Set unwanted parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. Example x = [1 2 3 4 5 6 7] --> ...

circa 9 ore ago

Solved


Create vector as shown in test cases
Create vector as shown in test cases

circa 9 ore ago

Solved


Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

circa 9 ore ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

circa 9 ore ago

Solved


Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

circa 9 ore ago

Solved


Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

circa 10 ore ago

Solved


Calculate the Hamming distance between two strings
Inspired by a similar Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-dist...

circa 10 ore ago

Solved


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

circa 11 ore ago

Solved


Convert degrees to radians
Given input in degrees, output to radians

circa 11 ore ago

Solved


Remove the positive integers.
Given array x (of integers), remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -...

circa 11 ore ago

Solved


Getting the absolute index from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

circa 11 ore ago

Solved


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

circa 11 ore ago

Solved


Linear system of equations
Solve the system of equations in three variables.

circa 11 ore ago

Solved


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

circa 11 ore ago

Solved


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

circa 11 ore ago

Solved


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

circa 11 ore ago

Solved


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

circa 12 ore ago

Solved


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

circa 12 ore ago

Solved


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

circa 12 ore ago

Solved


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

circa 12 ore ago

Solved


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

circa 12 ore ago

Solved


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

circa 12 ore ago

Solved


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

circa 12 ore ago

Solved


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

circa 13 ore ago

Solved


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

circa 13 ore ago

Solved


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

circa 14 ore ago

Solved


Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

circa 14 ore ago

Solved


Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

circa 14 ore ago

Load more