Community Profile # 埃博拉酱

Last seen: 1日 前 2019 以来アクティブ

#### Statistics

All
• • • • • • • • • • • • バッジを表示

#### Content Feed

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

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

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

Dealfun (1.0)
*Short description.* Write a function _dealfun_: [y1,y2,...,yn]=dealfun(fhandle,x1,x2,...,xn) which evaluates the f...

Find area of rectangle

9ヶ月 前

Find area of triangle

9ヶ月 前

Original coordinate of the min element of a subset of elements

9ヶ月 前 | 1 | 13 個のソルバー

Easy: Simple problem for beginners

9ヶ月 前

Volatile array in parfor and for

10ヶ月 前

Volatile array in parfor and for

10ヶ月 前 | 0 | 3 個のソルバー

Convert sorting indices to ranks

10ヶ月 前 | 1 | 8 個のソルバー

Restricted Subtraction v1

11ヶ月 前

Find Logic 21

11ヶ月 前

Restricted Multiplication v1

11ヶ月 前

tic tac toe
Solved ticTacToe

11ヶ月 前

Algorithmic Trading - 4 (two thresholds)
This is the fourth of a series of problems on quant trading. It builds on earlier problems 45776, 45860, and 45884 *Goal* ...

11ヶ月 前

Algorithmic Trading - 3 (short selling and leverage)
This is the third of a series of problems on quant trading. It builds on earlier problems 45776 and 45860 <https://www.mathwo...

11ヶ月 前

Algorithmic Trading - 2 (optimize Calmar Ratio)
This is the second of a series of problems on quant trading. It builds on earlier problem 45776 <https://www.mathworks.com/matla...

11ヶ月 前

arrayfun bomb

11ヶ月 前 | 1 | 3 個のソルバー

Magic array teasing num2cell

11ヶ月 前 | 0 | 1 個のソルバー

The most decentralized RGB colors

11ヶ月 前

The most decentralized RGB colors

11ヶ月 前 | 0 | 1 個のソルバー

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

11ヶ月 前

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

11ヶ月 前

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

11ヶ月 前

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

11ヶ月 前

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

11ヶ月 前

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

11ヶ月 前

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

11ヶ月 前

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

11ヶ月 前