Solved


Negative Infinity
Round the given array a towards negative infinity.

4 years ago

Solved


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

4 years ago

Solved


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

4 years ago

Solved


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

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

4 years ago

Solved


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

4 years ago

Solved


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

4 years 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

4 years ago

Solved


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

4 years ago

Solved


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

4 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

4 years ago

Solved


cube of number
find cube of number

4 years ago

Solved


square root
Find square root of given number

4 years ago

Solved


square of a number
find square of a given number

4 years ago

Solved


Converts numbers into characters
Converts numbers into characters

4 years ago

Solved


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

4 years ago

Solved


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

4 years ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

4 years ago

Solved


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

4 years ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

4 years ago

Solved


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

4 years ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

4 years ago

Solved


calculate the length of matrix
input 1 array, calculate the length

4 years ago

Solved


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

4 years ago

Solved


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

4 years ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

4 years ago

Solved


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

4 years ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

4 years ago

Solved


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

4 years ago

Solved


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

4 years ago

Load more