Community Profile kazuyoshi kouno

Last seen: 13日 前 2020 以来アクティブ

Statistics

• • • • • • • • • バッジを表示

Content Feed

Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

9ヶ月 前

Kaprekar numbers
Test if the input is a Kaprekar number: <http://mathworld.wolfram.com/KaprekarNumber.html>. Return a logical true or false. ...

9ヶ月 前

Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

9ヶ月 前

Convert hex color specification to MATLAB RGB
Here's something that comes up all the time if you deal with web pages. Given a <http://www.w3schools.com/html/html_colors.as...

9ヶ月 前

Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

10ヶ月 前

Bruh
Return 'bruh'.

10ヶ月 前

Find out value of polynomial at different value.
Find out value of polynomial at different value. Example p(s) = s + 8 For s=0, value is 8.

10ヶ月 前

Write a function that when given an odd number, produces an arrow-head function pointing to the right. Examples n = 3 ...

10ヶ月 前

be able to add any variable to the number one

10ヶ月 前

Sum of series IX

10ヶ月 前

Sum of series VIII

10ヶ月 前

Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

10ヶ月 前

Converts numbers into characters
Converts numbers into characters

10ヶ月 前

Find the max element of the array
Find the max element of the array

10ヶ月 前

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

10ヶ月 前

to the 2 all elements
to the 2 all elements

10ヶ月 前

the average value of the elements
Calculate the average value of the elements in the array

10ヶ月 前

Double all elements in the array
Duplicate all elements in the array

10ヶ月 前

calculate the length of matrix
input 1 array, calculate the length

10ヶ月 前

Draw a '0' in a one matrix!

10ヶ月 前

Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

10ヶ月 前

Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

10ヶ月 前

calculate RMS voltage
given peak to peak voltage, calculate rms voltage

10ヶ月 前

Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

10ヶ月 前

Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

10ヶ月 前

Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

10ヶ月 前

UICBioE240 problem 1.14
Solve 3^x = 17

10ヶ月 前

Conversion from hours to mili sec
Convert given input in hours to mili seconds

10ヶ月 前

Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.

10ヶ月 前