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

14 días 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...

14 días hace

Resuelto


arrayfun bomb

14 días 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...

15 días hace

Resuelto


Roots, Bloody Roots: part 1/2

15 días 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...

15 días 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...

15 días 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...

15 días 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.

15 días 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...

15 días 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...

16 días 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...

16 días 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...

16 días 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...

16 días 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 ...

16 días 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...

16 días 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 ...

16 días 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...

16 días 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...

16 días 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...

16 días hace

Resuelto


Undocumented MATLAB tricks No. 1 - Save a function-returned struct
Often we face the case when we want to save a function-returned struct to a mat file with each of its field as individual variab...

16 días hace

Resuelto


Climbing the stairs

16 días hace

Resuelto


Beat the RNG - Passwords

16 días hace

Resuelto


Shape Shifter - Part 1

16 días hace

Resuelto


Probability of winning single-elimination tournament
Find the probability that the p^{th} player will win a single-elimination tournament with 2^n players where M(i,j)=probability t...

16 días hace

Resuelto


Determined if input object array is heterogeneous
Classes inherent from matlab.mixin.Heterogeneous can form arrays of heterogeneous elements, that is elements of different subcla...

16 días hace

Resuelto


Count the Digits in the Box
In this problem you must provide an accurate census of all the digits inside a given box. The problem is complicated by the fact...

16 días hace

Cargar más