Community Profile

# 埃博拉酱

Last seen: Today Attivo dal 2019

All

#### Content Feed

Visto da

Risolto

Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

5 mesi fa

Problema

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

5 mesi fa | 2 | 2 risolutori

Problema

Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

7 mesi fa | 1 | 16 risolutori

Problema

Ambiguous concatenation
Give two expressions that can have different meaning inside/outside a concatenation expression.

9 mesi fa | 0 | 3 risolutori

Risolto

Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

11 mesi fa

Risolto

Curry a function handle
From Wikipedia, Currying: In mathematics and computer science, currying is the technique of converting a function that takes mu...

circa un anno fa

Problema

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

circa un anno fa | 0 | 4 risolutori

Risolto

Exhaust all possible logical vectors
Input a length argument and list all possible logical vectors of that length. My solution is of size 29. Can you find an even s...

circa un anno fa

Risolto

Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

circa un anno fa

Problema

Exhaust all possible logical vectors
Input a length argument and list all possible logical vectors of that length. My solution is of size 29. Can you find an even s...

circa un anno fa | 1 | 17 risolutori

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

circa un anno fa

Risolto

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

quasi 2 anni fa

Problema

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

quasi 2 anni fa | 0 | 2 risolutori

Problema

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

quasi 2 anni fa | 0 | 5 risolutori

Risolto

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

quasi 2 anni fa

Risolto

Find area of rectangle

oltre 2 anni fa

Risolto

Find area of triangle

oltre 2 anni fa

Problema

Original coordinate of the min element of a subset of elements

oltre 2 anni fa | 2 | 17 risolutori

Risolto

Easy: Simple problem for beginners

oltre 2 anni fa

Risolto

Volatile array in parfor and for

oltre 2 anni fa

Problema

Volatile array in parfor and for

oltre 2 anni fa | 0 | 3 risolutori

Problema

Convert sorting indices to ranks

oltre 2 anni fa | 1 | 11 risolutori

Risolto

Restricted Subtraction v1

oltre 2 anni fa

Risolto

Find Logic 21

oltre 2 anni fa

Risolto

Restricted Multiplication v1

oltre 2 anni fa

Risolto

tic tac toe
Solved ticTacToe

oltre 2 anni fa

Risolto

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

oltre 2 anni fa

Risolto

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

oltre 2 anni fa

Risolto

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

oltre 2 anni fa

Problema

arrayfun bomb

oltre 2 anni fa | 1 | 3 risolutori