문제를 풀었습니다


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

2년 초과 전

문제를 풀었습니다


Calculate the sum of first x natural numbers
Calculate the sum of first x natural numbers for example if n=10 output =1+2+..+10=55

2년 초과 전

문제를 풀었습니다


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Unique - Very Very Large Numbers
Given a vector column, with some very large numbers, create the ascending sort and unique vector. *Input:* A (column vector)...

2년 초과 전

문제를 풀었습니다


Calculate the structural rank of a 2-by-4 matrix.

2년 초과 전

문제를 풀었습니다


Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...

2년 초과 전

문제를 풀었습니다


Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...

2년 초과 전

문제를 풀었습니다


Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...

2년 초과 전

문제를 풀었습니다


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

2년 초과 전

문제를 풀었습니다


square root
Find square root of given number

2년 초과 전

문제를 풀었습니다


Swap Red and Blue

2년 초과 전

문제를 풀었습니다


Get ranks of values in a vector
For a given vector, say [6 3 8 2], return the ranks (ascending) of observations, i.e. [3 2 4 1]. Do not worry about tied ranks. ...

2년 초과 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

2년 초과 전

문제를 풀었습니다


Find the nearest prime
Given a positive integer 'n', the task is to find a prime number greater than or equal to 'n'. Example 1 If given 'n' is ...

2년 초과 전

문제를 풀었습니다


Find the largest number
Find the largest number |x| among 4 numbers given as variables |a|, |b|, |c|, and |d|. Example: Input: a = 4; b = 7; c ...

2년 초과 전

문제를 풀었습니다


Utilizing Functions
Use this function to work for some points: function y = fcn_of_your_choice(x) y = x^2 + 2; end

2년 초과 전

문제를 풀었습니다


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

2년 초과 전

문제를 풀었습니다


Draw a '4' in a zero matrix!

2년 초과 전

문제를 풀었습니다


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)

2년 초과 전

문제를 풀었습니다


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

2년 초과 전

문제를 풀었습니다


means
Calculate the arithmetic, the geometric and the harmonic mean of a given vector (with positive elements) and return them in a ve...

2년 초과 전

문제를 풀었습니다


Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.

2년 초과 전

문제를 풀었습니다


Tabuada
Dado um inteiro N, retorne um vetor contendo a tabuada de N de 1 a 10; ex: Tabuada(5) = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50...

2년 초과 전

문제를 풀었습니다


String Logic 18
Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'

2년 초과 전

문제를 풀었습니다


String Logic 12
Examples: 'CAT' --> 'ACT' 'DOG' --> 'DGO' 'ROSY' --> 'ORSY' 'MOSTLY' --> 'LMOSTY'

2년 초과 전

문제를 풀었습니다


String Logic 10
Examples: 'SUNDAY' --> 83 'MONDAY' --> 77 'TUESDAY' --> 84 'WEDNESDAY' --> 87 'THURSDAY' --> 84 'FRIDAY' --> 70 'SATURD...

2년 초과 전

문제를 풀었습니다


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

2년 초과 전