Solved


Remainder
Given two number a and b find the remainder when you divide a by b

11 months ago

Solved


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

11 months ago

Solved


Triple function composition
Given three functions f,g and h, create the composed function y=f(g(h)). Example f = @(x) x+1 g = @(x) x/2 h = @(x) ...

11 months ago

Solved


Hofstadter G sequence
The Hofstadter G sequence is defined as follows: The first elements of the sequence are 0, 1, 1, 2, 3, 3, 4, 4, 5, 6. Write ...

11 months ago

Solved


Number Puzzle - 105

11 months ago

Solved


Determine if a Digit is Isolated
A digit is considered isolated if both its left and right neighbors are different from itself. For example, in the number 776444...

11 months ago

Solved


Number Puzzle - 099

11 months ago

Solved


Number Puzzle - 098

11 months ago

Solved


Number Puzzle - 097

11 months ago

Solved


A row vector, pick 1st number, skip 1,pick 3rd number, skip 2,pick,skip,etc then place all picked numbers in order in new vector
Having a row vector of number, pick the first number, place in new output vector as the first value, then skip one number, pick...

11 months ago

Solved


Find the Peak Particle Velocity on a ETL structure
PPV is a vibration parameter that can connect stress to a structure, it is measured in mm/s or mm/s-1. The higher the PPV the mo...

11 months ago

Solved


convert 24 hour time to 12 hour time
convert 24 hour time to 12 hour time Input: '13:12' Output: '01:12 PM' Input: '06:12' Output: '06:12 AM'

11 months ago

Solved


Sum of 2 numbers in array
Given an array and a target sum, return true if any 2 numbers in the array sum up to the given target sum. Both numbers cannot h...

11 months ago

Solved


Length of shortest path in a directed graph.
Given a directed graph and a start and end node in the graph, return the minimum number of hops required to reach the end node f...

11 months ago

Solved


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

11 months ago

Solved


Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.

11 months ago

Solved


Average valid values of arrays
Given a 1D array (column or row vector), compute the average of valid values. Valid values are defined via two thresholds: minVa...

11 months ago

Solved


Next Lower Power of B
Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is less than or equal to _n_. E...

11 months ago

Solved


Sort Except Zeros
Sort the numbers in a vector. But the position of zeros should not be changed. Example: sort_except_zeros( [5 3 0 0 2 4] ) == [...

11 months ago

Solved


UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

11 months ago

Solved


Number Puzzle - 103

11 months ago

Solved


La derivada numérica
El concepto de pendiente o inclinación de una función recta es muy intuitivo para cualquier persona. Desde el punto de vista mat...

11 months ago

Solved


Integer Division Without Remainder
Write a function that takes two positive integers, a and b, and returns the result of integer division (quotient) without remain...

11 months ago

Solved


Number Puzzle - 073

11 months ago

Solved


Number Puzzle - 024

11 months ago

Solved


Who have the chance?
Obtain a free 10 score in cody, if you have a chance don't change anything if you want to try or do what you can do to gain for ...

11 months ago

Solved


Orthogonalize a 2x2 matrix using the Gram-Schmidt process
Use the Gram-Schmidt process to orthogonalize two linearly independent column vectors. Return two output column vectors that are...

11 months ago

Solved


Number Puzzle - 084

11 months ago

Solved


Number Puzzle - 026

11 months ago

Solved


How many complete pizzas
x is a vector with numbers of pizza slices. A corresponding vector n indicates in how many slices the pizza slices of x were cut...

11 months ago

Load more