Solved

Outlier number!
Find a number which has maximum distance from the mean value of vector A. Example: A=[5 2 1 5 6 2 5 9] y=9

mehr als ein Jahr ago

Solved

Calculate mean value of any pair in a vector.
Given a vector A, calculate the mean of 2 number in the vector one by one. example: input: A=[1, 5, 6, 8, 9, 15] output:...

mehr als ein Jahr ago

Solved

'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

mehr als ein Jahr ago

Solved

Calculating the total earnings of a factory
The row vector, prods contains the number of various products manufactured per hour. The second row vector, prices holds values ...

mehr als ein Jahr ago

Solved

Add the input numbers to the original.

mehr als ein Jahr ago

Solved

surface areas of a cylinder
There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 ca...

mehr als ein Jahr ago

Solved

Find parts of a circle.
Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).

mehr als ein Jahr ago

Solved

Sum of diagonals
Compute the sum of diagonal elements of a square matrix and store the larger sum to s. Eg : a = [1 2 3; 2 3 4; 4 5 10] ...

mehr als ein Jahr ago

Solved

Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

mehr als ein Jahr ago

Question

using xlsread, i want to bifurcate data in different columns separated by commmas in each row of a excel sheet.
I have a excel sheet containing author and their respective book titles separated by comma in each row. I want to separate the d...

mehr als ein Jahr ago | 1 answer | 0

### 1

Solved

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

mehr als ein Jahr ago

Solved

Calculate the volume of the cube.
Example n = 3; a=volume(n); a = 27

fast 2 Jahre 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 ...

fast 2 Jahre ago

Solved

Tax Calculator
Calculate the tax for a given income. 10% tax is paid for any income up to \$2,000. 20% tax is paid for additional income u...

fast 2 Jahre ago

Solved

Add a vector to a matrix
Given a matrix |mat| of size |mXn| and a row vector |v| of size |1Xs|, return a matrix with |m+1| rows that conatains |mat| over...

fast 2 Jahre ago

Solved

Eye Squared
For a positive integer |n| create the identity matrix with |n| elements. In case it is not possible to produce an identity ma...

fast 2 Jahre ago

Solved

determine amount cookies left
started with 3 cookies and you never ate any how many are left

fast 2 Jahre ago

Solved

Remove the first, third and fifth rows of a matrix
Given a matrix x with at least five rows, return a matrix y that includes all rows of x except for th 1st, the 3rd and 5th. E...

fast 2 Jahre ago

Solved

Sum of adjacent elements in a vector
Given a vector v, return a vector s containting the sum of every two adjacent elements in the vector. Every element s(i) cont...

fast 2 Jahre ago

Solved

String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

etwa 2 Jahre ago

Solved

Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

etwa 2 Jahre ago

Solved

Take two incoming vectors and output the sum of the two vectors

etwa 2 Jahre ago

Solved

Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

etwa 2 Jahre ago

Solved

Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

etwa 2 Jahre ago

Solved

Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

etwa 2 Jahre ago

Solved

Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

etwa 2 Jahre ago

Solved

Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

etwa 2 Jahre ago

Solved

Component area
Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

etwa 2 Jahre ago

Solved

concatenate the elements
you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...

etwa 2 Jahre ago

Solved

Average of even-numbered columns
Given a vector, find the average of even-numbered columns. e.g xă=ă[ 4 6 8 9 1 2 7 ] y =ă( 6 + 9 + 2 ) / 3

etwa 2 Jahre ago