Resuelto


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

alrededor de 5 años hace

Resuelto


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

alrededor de 5 años hace

Resuelto


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

alrededor de 5 años hace

Resuelto


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

alrededor de 5 años hace

Resuelto


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

alrededor de 5 años hace

Resuelto


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

alrededor de 5 años hace

Resuelto


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

alrededor de 5 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 5 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

alrededor de 5 años hace

Resuelto


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

alrededor de 5 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 5 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 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


Draw a '0' in a one matrix!

alrededor de 5 años hace

Resuelto


Draw a '4' in a zero matrix!

alrededor de 5 años hace

Resuelto


Draw a '6' in a zero matrix!

alrededor de 5 años hace

Resuelto


Draw a '9' in a zero matrix!

alrededor de 5 años hace

Resuelto


Draw a '7' in a zero matrix!

alrededor de 5 años hace

Resuelto


Draw a '8' in a zero matrix!

alrededor de 5 años hace

Resuelto


Draw a '3' in a zero matrix!

alrededor de 5 años hace

Resuelto


Draw a '2' in a zero matrix!

alrededor de 5 años hace

Resuelto


Draw a '5' in a zero matrix!

alrededor de 5 años hace

Resuelto


Draw a '1' in a zero matrix!

alrededor de 5 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 5 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 5 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 5 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 5 años hace

Cargar más