Community Profile

# Yoshimasa Nakatani

### Shiseido Co Ltd

72 total contributions since 2016

#### Yoshimasa Nakatani's Badges

View details...

Contributions in
View by

Solved

Delete the column with all 0 !
Delete the column with all 0 data in a matrix(x). e.g. input x = 1 0 0 4 5 0 7 0 ...

3 mois ago

Solved

Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

plus d'un an ago

Solved

Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

plus d'un an ago

Solved

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

plus d'un an ago

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

environ 2 ans ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

plus de 2 ans ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

plus de 2 ans ago

Solved

Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

plus de 2 ans ago

Solved

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

plus de 2 ans ago

Solved

Times 3 problem
When you enter the number, it should return the number multiplied by 3

plus de 2 ans ago

Solved

02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

plus de 2 ans ago

Solved

Saving MATLAB session to a file
How to save MATLAB session to a file?

plus de 2 ans ago

Solved

02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

plus de 2 ans ago

Solved

Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

plus de 2 ans ago

Solved

Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

plus de 2 ans ago

Solved

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

plus de 2 ans ago

Solved

sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.

plus de 2 ans ago

Solved

Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

plus de 2 ans ago

Solved

Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

plus de 2 ans ago

Solved

Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

plus de 2 ans ago

Solved

Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

plus de 2 ans ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

plus de 2 ans ago

Solved

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

plus de 2 ans ago

Solved

Variable_Addition
be able to add any variable to the number one

plus de 2 ans ago

Solved

UICBioE240 2.8
Convert x number of hours into seconds.

plus de 2 ans ago

Solved

Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

plus de 2 ans ago

Solved

length of a vector
Find twice the length of a given vector.

plus de 2 ans ago

Solved

inner product of two vectors
inner product of two vectors

plus de 2 ans ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

plus de 2 ans ago

Solved

sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

plus de 2 ans ago

Load more