Risolto


Solve the snake puzzle

20 giorni fa

Risolto


Number of images formed due to two inclined mirrors and their coordinates
There are two mirrors with angle theta between them and there is an object on x axis. Determine the number of images formed and ...

20 giorni fa

Risolto


4D Hypercube Validation with Prime-Indexed Symmetry and Modular Trace Constraints
Design a function that generates and validates a 4D hypercube matrix where: 1. Prime-Indexed Symmetry: Every 2D slice `A(i,j...

20 giorni fa

Risolto


IQpuzzler Challenge #1: Find all possible solutions with 2 pieces already on the board and fixed orientation of all other pieces
IQpuzzler is a one player board game. The 2D version provides a rectangular board with 5-by-11 spaces and 12 colored pieces (con...

20 giorni fa

Risolto


Battleship - Seaman Level
<http://www.conceptispuzzles.com/index.aspx?uri=puzzle/battleships Games Magazine Battleships> is a logic puzzle to find the Fle...

20 giorni fa

Risolto


Undocumented MATLAB tricks No. 2 - Tell the parfor index
Your function is called in multiple for-loops, and the loop indices are given to your function. One of these indices are from a ...

20 giorni fa

Risolto


Optimize the Tollbooths
Your company has recently built its own highway from which they hope to generate some revenue. The highway has no branches or in...

20 giorni fa

Risolto


DNA Sequence Assembly

20 giorni fa

Risolto


Generate Convolution Matrix of 2D Kernel with Different Convolution Shapes (Full, Same, Valid)
In this problem the challenge is to build the Matrix Form equivalent of the function `conv2()` of MATLAB. The function to be ...

20 giorni fa

Risolto


Troubles With Spaces - Convert Some Messy Data Into A Clean Array
I have a bunch of messy data I have to go through. The data is stored in an odd format, so str2num isn't working. And even when ...

20 giorni fa

Risolto


Determine Center of Mass for a Set of Floating Spheres
Each sphere has a position determined by theta (x,y plane angle) and tau (elevation angle) as well as L, the distance of the cen...

20 giorni fa

Risolto


Largest Small n-Polygons or Biggest Little Polygon
Largest Small n-Polygons or Biggest Little Polygon for a number n is the polygon that has diameter one and that has the largest ...

20 giorni fa

Risolto


Which YAxis does this Graphic object belong to?
Your function gets a graphic object in an Axes that has 2 YAxis. Can you determine which YAxis does this object belong to? I pr...

20 giorni fa

Risolto


nth permutation of 11...100...0
Given some number of ones and zeros, numOnes and numZeros respectively, find the nth permutation of the vector [ones(1,numOnes),...

20 giorni fa

Risolto


IQpuzzler Challenge #2: Find all possible solutions on an empty 4-by-5 board with 5 pieces, rotating and flipping pieces allowed
We are playing a simplified version of IQpuzzler, with a smaller board of 4-by-5 spaces and just 5 pieces, as shown in the pictu...

20 giorni fa

Risolto


Recurssive serie
let the numerical serie U(n) such as U(n+1)= 0.2U(n) + 0.3U(n-1) ; U(0) = a ; U(1) = b the goal is to plot the elements of this...

20 giorni fa

Risolto


Rearrange coefficients after block based DCT transform.
Two dimensional block-based discrete cosine transform <http://en.wikipedia.org/wiki/Discrete_cosine_transform#DCT-II (DCT-II)> i...

20 giorni fa

Risolto


BattleShip - Petty Officer (Level 2)
<http://www.conceptispuzzles.com/index.aspx?uri=puzzle/battleships Games Magazine Battleships> is a logic puzzle to find the Fle...

20 giorni fa

Risolto


Integer vector optimal lossless deduplication
You're given an integer vector A, a Min scalar and a Max scalar. You can assume all elements in A are in [Min,Max] range, and nu...

21 giorni fa

Risolto


Create spiral matrices
Create a matrix of a given size with sequential elements spiraling inward. For matrix height m and width n, the output should ...

21 giorni fa

Risolto


Find the Fourier coefficients of a periodic function
For the a given periodic function, f, calculate the first N Fourier coefficients. The inputs to your function must be one period...

21 giorni fa

Risolto


Solve the 2-norm Regularization Problem
In data fitting, regularization is a technique to stabilize an ill-posed problem. <https://en.wikipedia.org/wiki/Tikhonov_regula...

21 giorni fa

Risolto


You are constantly moving at a speed v faster than your twin brother. How long does it take before you become 1s younger than him according to the theory of relativity?
You are moving at a speed of v_in (km/h) relative to your twin brother of the exact (even in seconds) same age. Define: gam ...

21 giorni fa

Risolto


Flip the right coin to survive!
Write a function to solve the problem mentioned below. The chessboard 8x8 matrix will be filled with coins randomly and given to...

21 giorni fa

Risolto


Create a "map" of 2D wavelet coefficients
Generate a matrix that for an image of size r*2^S by c*2^S indicates index of the wavelet subbands after <http://en.wikipedia.or...

21 giorni fa

Risolto


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

21 giorni fa

Risolto


Apply mirrored edges to a matrix

21 giorni fa

Risolto


IQpuzzler Preparation #3: Detect isolated groups of zeros in a matrix
Return true if any small, rectangular shaped, isolated groups of zeros (size 1x1, 1x2, 2x1, 1x3, 3x1 or 2x2) are present in a ma...

21 giorni fa

Carica altro