Solved

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

3 meses ago

Solved

multiply an array by its position number

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

3 meses ago

Solved

find the mean of all elements in a matrix

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

3 meses ago

Solved

find a specific element from an matrix

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

3 meses ago

Solved

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.

3 meses ago

Solved

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'

3 meses ago

Solved

Calculating selling price

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

3 meses ago

Solved

Average Grade

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

3 meses ago

Solved

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

3 meses ago

Solved

Sum the rows

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

3 meses ago

Solved

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

3 meses ago

Solved

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

3 meses ago

Solved

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

3 meses ago

Solved

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

3 meses ago

Solved

intervals

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

3 meses ago

Solved

Percentage profit

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

3 meses ago

Solved

row removal

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

3 meses ago

Solved

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

3 meses ago

Solved

vectors counting by 5

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

3 meses ago

Solved

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

3 meses ago

Solved

MPS to MPH

Given the speed in miles per second, find the speed in miles per hour.

3 meses ago

Solved

Kinetic Energy

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

3 meses ago