Gelöst


Find Logic 11

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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)

mehr als ein Jahr vor

Gelöst


Matrix Max Finder
Output the maximum value in a matrix

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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.

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Approximate functions 2 (★★★★)

mehr als ein Jahr vor

Gelöst


Factorize uniquely! (★★)

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Variance computation (★)
Given a vector x with several values, compute the variance, whose formula is given by: <<https://i.imgur.com/Wg95KBE.gif>> ...

mehr als ein Jahr vor

Gelöst


Replicate elements in vectors (★★★)
(copy of Prob 867) Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2...

mehr als ein Jahr vor

Gelöst


Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

mehr als ein Jahr vor

Gelöst


Create a vector with n repeated values of a number x (★★)
If x=3 and n=7 then the vector y would be y=[3 3 3 3 3 3 3]

mehr als ein Jahr vor

Gelöst


Approximate functions 1 (★★★)
Compute the following sum for any given x and positive integer n. <<https://i.imgur.com/eUwXdSE.gif>> <> Here m! denote...

mehr als ein Jahr vor

Gelöst


Sum of terms in a series 1 (★★★)
Given x and n, compute the following sum: |x|+|x|^(1/2)+|x|^(1/3)+|x|^(1/4)+|x|^(1/5) ... + |x|^(1/n) where ||x|| indica...

mehr als ein Jahr vor

Gelöst


Function 1 (★)
Compute the value of <<https://i.imgur.com/AxKWLmE.gif>> for any given positive x.

mehr als ein Jahr vor

Gelöst


Get the elements of diagonal and antidiagonal for any m-by-n matrix (★★★★)
(copy of prob. 859) In this problem you must submit a solution which returns the diagonal and anti-diagonal elements without ...

mehr als ein Jahr vor

Mehr laden