Resuelto


Draw a '3' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '2' in a zero matrix!

alrededor de 3 años hace

Resuelto


Draw a '5' in a zero matrix!

alrededor de 3 años hace

Resuelto


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

alrededor de 3 años hace

Resuelto


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

alrededor de 3 años hace

Resuelto


Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

alrededor de 3 años hace

Resuelto


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

alrededor de 3 años hace

Resuelto


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

alrededor de 3 años hace

Resuelto


Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

alrededor de 3 años hace

Resuelto


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

alrededor de 3 años hace

Resuelto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

alrededor de 3 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

alrededor de 3 años hace

Resuelto


Find the max element of the array
Find the max element of the array

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

alrededor de 3 años hace

Resuelto


to the 2 all elements
to the 2 all elements

alrededor de 3 años hace

Resuelto


the average value of the elements
Calculate the average value of the elements in the array

alrededor de 3 años hace

Resuelto


Double all elements in the array
Duplicate all elements in the array

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


Draw a '0' in a one matrix!

alrededor de 3 años hace

Resuelto


Total energy

alrededor de 3 años hace

Resuelto


Kinetic energy calculation

alrededor de 3 años hace

Resuelto


Laws of motion 1

alrededor de 3 años hace

Resuelto


Laws of motion 2

alrededor de 3 años hace

Resuelto


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

alrededor de 3 años hace

Resuelto


Laws of motion 5

alrededor de 3 años hace

Resuelto


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

alrededor de 3 años hace

Resuelto


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

alrededor de 3 años hace

Resuelto


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

alrededor de 3 años hace

Resuelto


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

alrededor de 3 años hace

Cargar más