Resuelto


Bullseye Matrix with Zeros
Inspired by Problem 18, create a bullseye matrix with the addition of padding equal to 0 between concentric rings. Matrices are ...

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


Rotation matrix of a sequence of 3D points
Given a sequence of rotation matrices Rotation_Matrix [3x3xN], and a sequence of 3D points [3x1xN], compute the [3xN] sequence i...

casi 3 años hace

Resuelto


ICFP 2023: Orchestra, Place Band members to maximize Audience net Happiness
The ICFP 2023 Competition in July was to place musicians on a stage to maximize the attendees net happiness. The musicians playe...

casi 3 años hace

Resuelto


Determine if a number is a cool number
A number is considered cool if it is 3 digits, has a 5 in it, and is divisible by 4.

casi 3 años hace

Resuelto


Sum of squares
Given a number n, return the sum of squares of all integers from 1 to n.

casi 3 años hace

Resuelto


Palindrome vector
Check if a given vector is Palindrome. Example, [1 2 54 32 45 5 33 456 45 456 33 5 45 32 54 2 1]

casi 3 años hace

Resuelto


sum
add two number

casi 3 años hace

Resuelto


Palindrome String
Determine if the inputted string is a palindrome. That is, the string is the same forwards as it is backwards. For example: ...

casi 3 años hace

Resuelto


Determine whether a number is a Zeisel number
Do you know what is interesting about the number 1729? That’s right: it’s the third Zeisel number, a number given by , where ...

casi 3 años hace

Resuelto


Snakes and Ladders: Variable Die
This problem is a sequal to Problem 59132 Snakes and Ladders: Average Number of Turns. Instead of a 6-sided die, your function ...

casi 3 años hace

Resuelto


Snakes and Ladders: Average Number of Turns
In this problem, you will play a single-player variant of the classic game Snakes and Ladders. The rules are as follows: The pl...

casi 3 años hace

Resuelto


Determine aquifer properties: steady pump test in confined or unconfined aquifers
Problem statement Write a function to determine the hydraulic conductivity and radius of influence using data from a steady p...

casi 3 años hace

Resuelto


Determine aquifer properties: steady pump test in a leaky confined aquifer
Problem statement Write a function to determine the hydraulic conductivity of a leaky confined aquifer and the hydraulic condu...

casi 3 años hace

Resuelto


Write out numbers in words
Write out numbers in words ( range [0-9999] ) with British spelling rules. For example; 1 > one 56 > fifty-six 100 > one hund...

casi 3 años hace

Resuelto


Calculate the sum of two numbers x and y
Calculate the sum of two numbers x and y

casi 3 años hace

Resuelto


Design a capture zone
One approach to remediating a contaminated site is to pump and treat the contaminated groundwater. If the site has background fl...

casi 3 años hace

Resuelto


Compute the bubble popper fidget spinner sequence
A fidget spinner is a toy made of multiple lobes that pivot on a ball bearing. In some, the lobes hold bubble poppers, or rubber...

casi 3 años hace

Resuelto


Boolean algebra
Your contractor from Elbonia has sent you the prototype of the new logical unit. It turns out that the only logical relation it ...

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


Check a scheme to dewater a construction area
In addition to supplying water and capturing contaminants, wells can be used to lower the water table in a construction area. In...

casi 3 años hace

Resuelto


Find the phi variation as a function of distance after solving through finite volume method. Return dphi/dx at all faces in form of array.
The question is a NPTEL online course assignment question. I have put it here becuase I wanted to create a problem set for num...

casi 3 años hace

Resuelto


Find stiffness of all beams for single floor in building
Create a function that finds this stiffness k of all the beams (also known as 'stanchions') for one floor of a three storey buil...

casi 3 años hace

Resuelto


Find mass of single floor in building
A model building has three floors are highlighted in different colours here: Assu...

casi 3 años hace

Resuelto


The Hacker Parole Problem
The hacker parole problem 100 hackers have been imprisoned, but have been given a way to get parole. Each of the 100 prisone...

casi 3 años hace

Resuelto


Count integers in randomized vector that are multiples of a given number.
The mod() function We might all remember the days when we were taught to divide and then set the remainder aside if the numbers...

casi 3 años hace

Resuelto


Find the 2023 Russian Lunar Lander (LUNA-25)
Locate the LUNA-25, 2023 Russian Lander, by comparing Pre and Post-Landing Lunar images. Give the [row,col] of the approximate...

casi 3 años hace

Resuelto


ismember: Enhanced Performance for 'rows' and width - Speed Scoring (66% savings)
The Challenge is to perform very fast the 'ismember' function for a long and wide array. The width of the array is expanded fro...

casi 3 años hace

Resuelto


ismember: Enhanced Time Performance for 'rows' - Speed Scoring (90% savings)
The Challenge is to perform very fast the 'ismember' function for a long and wide array. The data is small integer representi...

casi 3 años hace

Resuelto


Unique: Enhanced Performance - Avoiding Memory Crash
The Challenge is to create the unique array for a long and wide array. Difficulties are that the normal unique(a,'rows') func...

casi 3 años hace

Cargar más