Solved


Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

10 months ago

Solved


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

10 months ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

10 months ago

Solved


Matrix Max Finder
Output the maximum value in a matrix

10 months ago

Solved


Row sum

10 months ago

Solved


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

10 months ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

10 months ago

Solved


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

10 months ago

Solved


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

10 months ago

Solved


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

10 months ago

Solved


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

10 months ago

Solved


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

10 months ago

Solved


Sum of Squares
Given a vector v of length n, write a MATLAB function to calculate the sum of the squares of its elements.

10 months ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

10 months ago

Solved


Transpose of matrix
Transpose of matrix as per test cases

10 months ago

Solved


Seperate 2nd column in a matrix

10 months ago

Solved


Volume of Cylinder
Find the volume of a cylinder

10 months ago

Solved


Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.

10 months ago

Solved


Factorial

10 months ago

Solved


Perimeter of a Triangle

10 months ago

Solved


Negative Infinity
Round the given array a towards negative infinity.

10 months 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];

10 months ago

Solved


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

10 months ago

Solved


Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...

10 months ago

Solved


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

10 months ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

10 months ago

Solved


Addition
Add together the values of a and b.

10 months ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

10 months ago

Solved


size

10 months ago

Solved


square of a number
find square of a given number

10 months ago

Load more