Solved


'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...

meer dan 3 jaar ago

Solved


How do you make seven even?
Take away the s.

meer dan 3 jaar ago

Solved


Translate German decimals to English decimals
The string 'x = [2,5; 5,5; 4,3];' should return 'y = [2.5; 5.5; 4.3];'

meer dan 3 jaar ago

Solved


Replace Nan!
Replace Nan in the given vector(v) with 9999.

meer dan 3 jaar ago

Solved


Let's make puddings !
We will make puddings with eggs, milk and sugar. To make one pudding, we need one egg, 140(cc) of milk, 15 (g) of sugar. Now W...

meer dan 3 jaar ago

Solved


Please check if calorie intake is less than 300 kcal.
I like eating some puddings and some chocolate cookies around 3 o'clock. However, I care about calorie intake. Please check whe...

meer dan 3 jaar ago

Solved


The proportion of NaN in the data
If NaN occupies less than half of the input data, return 1, otherwise return 0. eg. input x = [1 2 NaN ; 4 NaN 6] >>> out...

meer dan 3 jaar ago

Solved


The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...

meer dan 3 jaar ago

Solved


Please check the last row
We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

meer dan 3 jaar ago

Solved


I hope to lose weight healthily...
In order to reduce weight healthily, weight will be reduced by 4% every month. Please calculate how many months it will take...

meer dan 3 jaar ago

Solved


Add 3 (x<=100) Or Subtract 100 and add 3(100<x)
Add 3 to every element. However, if the value is greater than 100, subtract 100 and add 3. eg. input x = [45 106; 67 1...

meer dan 3 jaar ago

Solved


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

meer dan 3 jaar ago

Solved


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

meer dan 3 jaar ago

Solved


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

meer dan 3 jaar ago

Solved


find number of times of occurrence of the most frequent number in a row vector
In a given row vector, find the number of times a mode of a row vector has occurred example: in [2 5 5 5 5 3], output is 4 ...

meer dan 3 jaar ago

Solved


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

meer dan 3 jaar ago

Solved


Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

meer dan 3 jaar ago

Solved


Product of all elements in an array
Compute the product of all elements in an array.

meer dan 3 jaar ago

Solved


count upper and lower case characters
In a given input string, count and return the number of upper and lower case characters as u and l respectively. For example:...

meer dan 3 jaar ago

Solved


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

meer dan 3 jaar ago

Solved


replace empty matrices with '[]'
for example a=1;a(:,1)=[]; returns a = Empty matrix: 1-by-0 use this as the input,and the output should be '[]...

meer dan 3 jaar ago

Solved


Raise each element to the power of its index in a matrix
In a matrix, A = [1,2;3,4] raise the power of each element like: 1^1+2^3+3^2+4^4 and add it all to produce the result 274

meer dan 3 jaar ago

Solved


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

meer dan 3 jaar ago

Solved


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

meer dan 3 jaar ago

Solved


Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

meer dan 3 jaar ago

Solved


Area of polygon
Given the vertices in vectors X,Y, return the area of the polygon they define.

meer dan 3 jaar ago

Solved


Find 0 in array
Given array find where there 0 is.

meer dan 3 jaar ago

Solved


Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

meer dan 3 jaar ago

Solved


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

meer dan 3 jaar ago

Solved


Perfect number

meer dan 3 jaar ago

Load more