Solved


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

bijna 4 jaar ago

Solved


Rounding
Round 10.67 and make 'y' equal to that number.

bijna 4 jaar ago

Solved


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

bijna 4 jaar ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

bijna 4 jaar ago

Solved


Min of a Matrix
Return the minimum value in the given matrix.

bijna 4 jaar ago

Solved


Calculate volume of box
Calculate the volume of box,hiven its sides

bijna 4 jaar ago

Solved


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

bijna 4 jaar 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 ...

bijna 4 jaar ago

Solved


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

bijna 4 jaar ago

Solved


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

bijna 4 jaar ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

bijna 4 jaar ago

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

bijna 4 jaar ago

Solved


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

bijna 4 jaar ago

Solved


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

bijna 4 jaar ago

Solved


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

bijna 4 jaar ago

Solved


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

bijna 4 jaar ago

Solved


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

bijna 4 jaar ago

Solved


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

bijna 4 jaar 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];

bijna 4 jaar ago

Solved


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

bijna 4 jaar ago

Solved


03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...

bijna 4 jaar ago

Solved


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

bijna 4 jaar ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

bijna 4 jaar ago

Solved


square root
Find the square root (y) of an input (x).

bijna 4 jaar 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...

bijna 4 jaar ago

Solved


Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

bijna 4 jaar ago

Solved


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

bijna 4 jaar ago

Solved


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

bijna 4 jaar ago

Solved


Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

bijna 4 jaar ago

Solved


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

bijna 4 jaar ago

Load more