Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa un mese fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


Mode
Find the mode of a vector x

circa 2 mesi fa

Risolto


Subtraction
Given two numbers a and b subtract them

circa 2 mesi fa

Risolto


Prime Number
Determine if a number is prime

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


Multiplication
Given 2 numbers a and b mulitply them

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

circa 2 mesi fa

Risolto


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

3 mesi fa

Risolto


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

3 mesi fa

Risolto


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

3 mesi fa

Carica altro