Resuelto


Volume of a sphere given its surface area
You just measured its surface area, that is the input.

12 meses hace

Resuelto


Least common multiple of many numbers
1:6 -> 60

12 meses hace

Resuelto


Separate even from odd numbers in a vector - with a loop
*Using a loop*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the end. T...

12 meses hace

Resuelto


Remove the first, third and fifth rows of a matrix
Given a matrix x with at least five rows, return a matrix y that includes all rows of x except for th 1st, the 3rd and 5th. E...

12 meses hace

Resuelto


Separate even from odd numbers in a vector - without loops
*Without using loops*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the...

12 meses hace

Resuelto


Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...

12 meses hace

Resuelto


Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...

12 meses hace

Resuelto


Matrix Pattern 3

12 meses hace

Resuelto


Find Logic 11

12 meses hace

Resuelto


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

12 meses hace

Resuelto


Voltage in a lamp
A lamp is measured to have a resistance of R ohms when it operates at a power of P Watts. What is the voltage (in volts) being a...

12 meses hace

Resuelto


String Logic 13
Examples: 'CAT' --> 'TCA' 'DOG' --> 'OGD' 'ROSY' --> 'YSRO' 'MOSTLY' --> 'YTSOML'

12 meses hace

Resuelto


String Logic 4
Example: 'CAT' --> 'IGZ' 'DOG' --> 'JUM' 'MATLAB' --> 'SGZRGH' 'ROSY' --> 'XUYE' 'TRUST' --> 'ZXAYZ' 'MOSTLY' --> 'SUYZ...

12 meses hace

Resuelto


String Logic 1
Examples: 'CAT' --> 'IGZ' 'DOG' --> 'JUM'

12 meses hace

Resuelto


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

12 meses hace

Resuelto


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

12 meses hace

Resuelto


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

12 meses hace

Resuelto


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

12 meses hace

Resuelto


Matrix Max Finder
Output the maximum value in a matrix

12 meses hace

Resuelto


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

12 meses hace

Resuelto


Vector indexing: lower than mean
Find indices of values in a vector lower than the mean of the vector

12 meses hace

Resuelto


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

12 meses hace

Resuelto


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

12 meses hace

Resuelto


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

12 meses hace

Resuelto


Doubling elements in a vector (★★)
(copy of prob. 1024) Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] t...

12 meses hace

Resuelto


Create times-tables (★★★)
(copy of prob 33) At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 ti...

12 meses hace

Resuelto


Factorize uniquely! (★★)

12 meses hace

Resuelto


Vector of digits (★★)
Given a positive integer x, construct a vector y with all the digits of x in the order of appearance in x. Thus, if x = 172...

12 meses hace

Resuelto


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

12 meses hace

Cargar más