Risolto

Find out missing number from a vector of 9 elements

You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

5 mesi fa

Risolto

multiply an array by its position number

You have given an array. Multiply an array by its position number

5 mesi fa

Risolto

find the mean of all elements in a matrix

given a matrix, just find the mean of all elements in the matrix

5 mesi fa

Risolto

find a specific element from an matrix

Find the element from matrix which is in 2nd row and 3rd column.

5 mesi fa

Risolto

Find the last digit

FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

5 mesi fa

Risolto

Determine whether the input is divisible by 3 as well as 5

If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

5 mesi fa

Risolto

Calculating selling price

Cost of a Product is $x What should be the selling price if you want to gain 10%?

5 mesi fa

Risolto

Average Grade

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

5 mesi fa

Risolto

Replace all odd numbers with NaN

Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

5 mesi fa

Risolto

Sum the rows

Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

5 mesi fa

Risolto

Where is the number that you want to find?

For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

5 mesi fa

Risolto

Weird Diagonal Matrix!!

**If you have loved the problem, please like it below(Request)** Given an integer n, create a matrix whose diagonal elements wi...

5 mesi fa

Risolto

Make an identity matrix whose diagonal elements are 1:n

For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

5 mesi fa

Risolto

Remove All elements less than 5

Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

5 mesi fa

Risolto

intervals

Write a function that takes an interval from a to b, and divides it into 6 parts.

5 mesi fa

Risolto

Percentage profit

If you are buying at x dollar, what will be the selling price for making the r% profit?

5 mesi fa

Risolto

row removal

Remove the nth row from input matrix M and return the resulting matrix in output N.

5 mesi fa

Risolto

Vector with a repeated entry

Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

5 mesi fa

Risolto

vectors counting by 5

Create a vector with numbers from x_min to x_max in increments of 5.

5 mesi fa

Risolto

Annual Salary

What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

5 mesi fa

Risolto

Kinetic Energy

Given mass, m, and kinetic energy, KE, find the velocity of the object.

5 mesi fa