Community Profile

# Rashmi Upase

##### Last seen: 1 jour ago
98 total contributions since 2020

View details...

Contributions in
View by

Solved

Reverse a matrix
Its simple. You have to reverse a given matrix.

environ 2 mois ago

Solved

Concatenate two strings
Its very easy. Just concatenate two strings.

environ 2 mois ago

Solved

Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

environ 2 mois ago

Solved

Max of a Vector
Write a function to return the max of a vector

environ 2 mois ago

Solved

Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

environ 2 mois ago

Solved

Remove the Zero
Given an array n, remove all zeros

environ 2 mois ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

environ 2 mois ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

environ 2 mois ago

Solved

Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

environ 2 mois ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

environ 2 mois ago

Solved

y equals x divided by 2
function y = x/2

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

environ 2 mois ago

Solved

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

environ 2 mois ago

Solved

Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

environ 2 mois ago

Solved

kmph to mps
convert kilometer per hour to meter per second

environ 2 mois ago

Solved

index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

environ 2 mois ago

Solved

reverse string
input='rama' output='amar'

environ 2 mois ago

Solved

Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

environ 2 mois ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

environ 2 mois ago

Solved

Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

environ 2 mois ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

environ 2 mois ago

Solved

environ 2 mois ago

Solved

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

environ 2 mois ago

Solved

First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

environ 2 mois 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...

environ 2 mois ago

Solved

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

2 mois ago

Solved

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

2 mois ago