Gelöst


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

mehr als 8 Jahre vor

Problem


Sums of Distinct Powers
You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...

mehr als 8 Jahre vor | 6 | 171 Lösungsvorschläge

Problem


Pandigital Multiples of 11 (based on Project Euler 491)
A "Pandigital number of order X" is one that contains all of the numbers from 0 to X, but with no leading zeroes. If X>9, the c...

mehr als 8 Jahre vor | 5 | 55 Lösungsvorschläge

Problem


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

mehr als 8 Jahre vor | 9 | 382 Lösungsvorschläge

Problem


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

mehr als 8 Jahre vor | 14 | 961 Lösungsvorschläge

Problem


Sums of Multiple Pairs of Triangular Numbers
This is a follow-up to Problem 44289 - Find two triangular numbers whose sum is input. There are some numbers that are the su...

mehr als 8 Jahre vor | 1 | 249 Lösungsvorschläge

Gelöst


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

mehr als 8 Jahre vor

Gelöst


Code breaker, Part II: Operation Orthos
You have been tasked with decoding a several batches of coded messages that have been intercepted. Based on previous intell...

mehr als 8 Jahre vor

Gelöst


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

mehr als 8 Jahre vor

Gelöst


Challenging perms function!
This problem is highly related with <http://www.mathworks.com/matlabcentral/cody/problems/1127-decrypt-a-secret-message Problem ...

mehr als 8 Jahre vor

Gelöst


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

mehr als 8 Jahre vor

Gelöst


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

mehr als 8 Jahre vor

Gelöst


String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

mehr als 8 Jahre vor

Gelöst


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

mehr als 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

Gelöst


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

fast 9 Jahre vor

Gelöst


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

fast 9 Jahre vor

Gelöst


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

fast 9 Jahre vor

Gelöst


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

fast 9 Jahre vor

Gelöst


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

fast 9 Jahre 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)

fast 9 Jahre vor

Gelöst


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

fast 9 Jahre 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.

fast 9 Jahre vor

Gelöst


Component area
Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

fast 9 Jahre vor

Gelöst


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

fast 9 Jahre vor

Gelöst


Find the sum of the negative elements under the main diagonal.
Example Input A=[1 2; -3 0] Output -3

fast 9 Jahre vor

Gelöst


Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

fast 9 Jahre vor

Gelöst


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

fast 9 Jahre vor

Mehr laden