Risolto


Translate German decimals to English decimals
The string 'x = [2,5; 5,5; 4,3];' should return 'y = [2.5; 5.5; 4.3];'

oltre 5 anni fa

Risolto


Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

oltre 5 anni fa

Risolto


Draw Letter 'L'

oltre 5 anni fa

Problema


Count the square-full divisors of a number

oltre 5 anni fa | 0 | 10 risolutori

Risolto


Number Puzzle - 108

oltre 5 anni fa

Risolto


Number Puzzle - 107

oltre 5 anni fa

Risolto


Number Puzzle - 106

oltre 5 anni fa

Risolto


Number Puzzle - 105

oltre 5 anni fa

Risolto


Sales Tax

oltre 5 anni fa

Risolto


Determine value using Look-up table method
Given a set of 2 vectors x and y related in a certain way, you are supposed to find value of y (ydash) given a particular value ...

oltre 5 anni fa

Risolto


Free Fall analytical solution (Chapra 2012 textbook Example 1.1)
Analytical solution to bungee jumper problem. Given time series as a vector, parameters mass and drag coefficient, and gravit...

oltre 5 anni fa

Risolto


Restricted Subtraction v1
This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...

oltre 5 anni fa

Risolto


Extract part elements of matrix into one new matrix
Given a matrix that includes different nonzero and zero entries, extract the nonzero elements and form a new matrix. The new mat...

oltre 5 anni fa

Risolto


Is this function available?
Sometimes it is difficult to remember which functions are not allowed on the Cody platform. Given a function as a string, return...

oltre 5 anni fa

Risolto


Derivative function
Given a function handle f, generate a function that evaluates the derivative of f Examples: f = @sin; df = De...

oltre 5 anni fa

Risolto


Place numbers
Given two input first input is a matrix which consist of the index numbers of the second input vector. You place the second inpu...

oltre 5 anni fa

Risolto


Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

oltre 5 anni fa

Risolto


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

oltre 5 anni fa

Risolto


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

oltre 5 anni fa

Risolto


Square Patterns in a square matrix

oltre 5 anni fa

Risolto


Determinate if day D is a date that occurs during Daylight Saving Time in Italy
<https://en.wikipedia.org/wiki/Summer_Time_in_Europe>

oltre 5 anni fa

Risolto


Infinite precision division
Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...

oltre 5 anni fa

Risolto


Hexagonal numbers on a spiral matrix
Put hexagonal numbers in a ( m x m ) spiral matrix and return the sum of its diagonal elements. Formula of hexagonal numbers ...

oltre 5 anni fa

Problema


Compute a row of the Kimberling shuffle

oltre 5 anni fa | 1 | 15 risolutori

Risolto


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

oltre 5 anni fa

Risolto


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

oltre 5 anni fa

Risolto


How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma. ...

oltre 5 anni fa

Risolto


Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

oltre 5 anni fa

Risolto


How many ways?
Create a program to determine in how many ways can a regular n-gon be divided into n-2 triangles?

oltre 5 anni fa

Carica altro