Resuelto


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

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses 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...

alrededor de 2 meses hace

Resuelto


Apply mirrored edges to a matrix

alrededor de 2 meses hace

Resuelto


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

alrededor de 2 meses hace

Resuelto


IQpuzzler Preparation #1: Find all non-identical orientations of a matrix
Return all non-identical orientations of a 2-D matrix that can be produced by rotating or flipping it. Input is an M-by-N matri...

alrededor de 2 meses hace

Resuelto


Find the point of intersection of tangents.
Given two points on a conic, find the point of intersection of the corresponding tangents. The conic is given in Cartesian coor...

alrededor de 2 meses hace

Resuelto


Merge structs on fields
Merge a bunch of structs into one, containing the field names and corresponding values of all input structs. For duplicate field...

alrededor de 2 meses hace

Resuelto


arrayfun bomb

alrededor de 2 meses hace

Resuelto


Define the higher order function - foldl
Given a binary function f, a starting value a, and a list (row vector) xs of values, the higher order function foldl folds the f...

alrededor de 2 meses hace

Resuelto


Don't you have something better to do?

alrededor de 2 meses hace

Resuelto


Decimal to Binary conversion for Large Integers

alrededor de 2 meses hace

Resuelto


Roots, Bloody Roots: part 1/2

alrededor de 2 meses hace

Resuelto


Compute the cokurtosis of a given portfolio.
As input data, you are given a nObs-by-nAssets matrix _portRet_ of return series for assets in a portfolio along with an nAssets...

alrededor de 2 meses hace

Resuelto


Spell the number
Using the British short scale notation, write a function to return the correct spelling of a number passed as a numeric string i...

alrededor de 2 meses hace

Resuelto


Moving average
A moving average function that returns an array that is equal in length to the input arrays (which can be row or column) A va...

alrededor de 2 meses hace

Resuelto


How many ways to write
How many ways to write a positive integer x as the sum of n numbers , where , x>n and no n number is less than -2.

alrededor de 2 meses hace

Resuelto


Calculate the dynamic time warping similarity
Dynamic time warping (DTW) is an algorithm for measuring the similarity between two time series that may have been acquired at d...

alrededor de 2 meses hace

Resuelto


Arc length of points interpolation
Given a n by m matrix representing m vectors in n dimensions. Calculate the <https://en.wikipedia.org/wiki/Arc_length arc length...

alrededor de 2 meses hace

Resuelto


Simple Robotics 2 - End effector attitude
Given a structure as input to your function with the following fields: * robot.links(L1,L2,L3) * robot.jointangles(alfa1,alfa2...

alrededor de 2 meses hace

Resuelto


Possible American Football Scoring Combinations
With inspiration from Problem 56195. Possible Ruby Scores, given the final score for two teams in an American football game (sco...

alrededor de 2 meses hace

Resuelto


Vector to Decimal
Given an integer vector , return its decimal representation as a character array. % Examples v = 7 x = '7' % v = [4 2] x...

alrededor de 2 meses hace

Resuelto


Mantissa of IEEE Single
Output the mantissa bits as a uint32 of the IEEE representation of the single-typed 32-bit float input. Store these bits in the ...

alrededor de 2 meses hace

Resuelto


Calculate pi using the Mandelbrot Set.
The Mandelbrot Set is a set of complex numbers built around a simple iterative equation for which the orbit of the critical poin...

alrededor de 2 meses hace

Resuelto


Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

alrededor de 2 meses hace

Resuelto


how to determine is a point is inside, on or outside a polygon?
design function determines whether the point is inside a contour, outside, or lies on an edge (or coincides with a vertex). It r...

alrededor de 2 meses 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...

alrededor de 2 meses hace

Resuelto


Pay up
You live in a world where arbitrary denominations of currency exist. You owe your friend a sum of money denoted by s. However, i...

alrededor de 2 meses hace

Cargar más