Community Profile

photo

Vitaly Lavrukhin


Samsung

Active since 2012

Followers: 0   Following: 0

Message

Professional Interests: Deep Learning, Computer Vision, Natural Language Processing

Statistics

  • Commenter
  • Creator
  • Promoter
  • Leader
  • Speed Demon
  • Solver

View badges

Feeds

View by

Solved


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

mer än 10 år ago

Solved


select the primes of a vector
Find the prime numbers in a vector

mer än 10 år ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

mer än 10 år 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...

mer än 10 år ago

Solved


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

mer än 10 år ago

Solved


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.

mer än 10 år ago

Solved


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

mer än 10 år ago

Solved


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

mer än 10 år ago

Solved


only input
Return the output without writing any code into the function.

mer än 10 år ago

Solved


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

mer än 10 år ago

Solved


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

mer än 10 år ago

Solved


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

mer än 10 år 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 ...

mer än 10 år ago

Solved


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

mer än 10 år ago

Solved


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

mer än 10 år ago

Solved


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

mer än 10 år ago

Solved


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

mer än 10 år ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

mer än 10 år ago

Solved


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

mer än 10 år ago

Solved


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.

mer än 10 år ago

Solved


Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

mer än 10 år ago

Solved


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

mer än 10 år ago

Solved


click away
Write a function that clicks on a GUI button. *Description*: Some times one wishes to use Matlab to automate some time con...

mer än 10 år ago

Solved


Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

mer än 10 år ago

Solved


Calculate FFT
Calculate the fft manually, without using matlab's builtin function. No cheating allowed.

mer än 10 år ago

Solved


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

mer än 10 år ago

Solved


Is there a GPU Device?
Return true if there is a supported GPU device available on the Cody computer.

mer än 10 år ago

Solved


Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

mer än 10 år ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

mer än 10 år ago

Solved


Add two numbers
Add two numbers (For beginners)

mer än 10 år ago

Load more