Gelöst


Matrix Transposition
Given a matrix and an index, perform matrix transposition as follows - Replace non-corner value of ith ring from outside, with...

10 Monate vor

Gelöst


Padovan Polynomials
Hello there. I'm afraid I bear bad news - Anakin Skywalker is no longer a Jedi. But fear not young Padawan, we shall not falter...

10 Monate vor

Gelöst


Sub-Diagonal Sum
Given a (m x n) matrix and a value r {1,-1}, change every element to the sum of the diagonal led by the element. r=1 > regular ...

10 Monate vor

Gelöst


Shapiro Polynomials
Given an order n, return the coefficients of 1st Shapiro polynomials Pn(x) - %Example P1(x) = x + 1 => Output = [1 1]; P...

10 Monate vor

Gelöst


Repeatitive Summation
Given numeric vectors x, a and b, perform the following operation - a represents a vector of numbers and b represents a vector ...

10 Monate vor

Gelöst


Cyclotomic Polynomials
Given a Natural number (N), return the corresponding Cyclotomic Polynomial.

10 Monate vor

Gelöst


Parametric Array
Create a row vector, 1xN (Integer, >1), such that the mean of the vector is M (Real number) and the standard deviation of the ...

10 Monate vor

Gelöst


Continuous NaNs - I
Remove any continuous NaNs that appear in the array - %Example 1 input = [1 NaN 2 NaN NaN 3 NaN NaN NaN] output = [1 NaN 2 ...

10 Monate vor

Gelöst


Rooky Towers
You are wandering and as you realise something's off, you find yourself lost in a peculiar place - Over a giant field which is ...

10 Monate vor

Gelöst


Easy Sequences 30: Nearly Pythagorean Triangles
A Nearly Pythagorean Triangle (abbreviated as "NPT'), is an integer-sided triangle whose square of the longest side, which we wi...

10 Monate vor

Gelöst


Touchard Polynomial
Return the coefficients of nth (n>=0) Touchard polynomials - T1(x) = x; output = [1 0]; T2(x) = x^2 + x; output = [1 1 0]...

10 Monate vor

Gelöst


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

10 Monate vor

Gelöst


Tricky timing
Write a function that takes between 0.5 seconds and 0.6 seconds to run.

10 Monate vor

Gelöst


Trickier Timing
You solution should return control to main program only when the current time ends in either a 5 or 0 (e.g. the current seconds ...

10 Monate vor

Gelöst


Gaussian elimination
Get the Gussian elimination of the Matrix Given You cannot use built-in Matlab functions triu :)

10 Monate vor

Gelöst


Create tangent function out of sine function only
Please don't use cosine and tangent functions

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


Mode
Find the mode of a vector x

10 Monate vor

Gelöst


Subtraction
Given two numbers a and b subtract them

10 Monate vor

Gelöst


Prime Number
Determine if a number is prime

10 Monate vor

Gelöst


Add two numbers
Given two numbers a and b add them together

10 Monate vor

Gelöst


Multiplication
Given 2 numbers a and b mulitply them

10 Monate vor

Gelöst


rotation et mise à l'échelle avec des complexes
Ecrire une fonction Zr=scale_rot(A,phi,Z) qui permet une mise à l'échelle d'un facteur A et une rotation d'un angle phi (en rad)...

10 Monate vor

Gelöst


Moyenne pondérée
Ecrire une fonction qui prend en entrée un vecteur P et un vecteur V et calcule la moyenne pondérée MP des élements vi d'un vec...

10 Monate vor

Gelöst


ICFP2024 007: Lambdaman 1, 2, 3 Breadth Solver
The ICFP2024 contest was held June29 thru July 1. The contest consisted of five parts: ICFP Language, Lambdaman maze, Starship f...

10 Monate vor

Gelöst


ICFP2024 001: Lambdaman 6
The ICFP2024 contest was held June29 thru July 1. The contest consisted of five parts: ICFP Language, Lambdaman maze, Starship f...

10 Monate vor

Gelöst


ICFP 2024 Programming Contest June 28 thru July 1
This is to announce the annual ICFP programming contest for 2024. The ICFP 2024 homepage link is ICFP 2024 . Registration will...

10 Monate vor

Gelöst


Build triangulation from -sorted- edge list
Problem statement An edge list is simply a N x 2 matrix of positive integers, in which N is the number of edges and each intege...

11 Monate vor

Gelöst


Check Euler's characteristic on regular polyhedra
Problem statement Given the number of vertices and the number of faces of a given regular polyhedron, compute the number of its...

11 Monate vor

Gelöst


Mesh the square with triangles
Problem statement An square is a regular polygon with 4 vertices and 4 edges. A triangulated mesh T (stands for triangles he...

11 Monate vor

Mehr laden