
C++
Spoken Languages:
Chinese
Pronouns:
No pronouns - Use my name only
Statistics
RANK
491
of 297 294
REPUTATION
159
CONTRIBUTIONS
20 Questions
148 Answers
ANSWER ACCEPTANCE
60.0%
VOTES RECEIVED
28
RANK
6 128 of 20 418
REPUTATION
187
AVERAGE RATING
5.00
CONTRIBUTIONS
15 Files
DOWNLOADS
33
ALL TIME DOWNLOADS
799
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Pipeline - Variable-length Input
Design the |gt|(>) method of |function_handle| so that: >> 1 > @sin > @cos ans = 0.666366745392881 >> cos(sin(1...
4 månader ago
Solved
Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.
ungefär 2 år ago
Problem
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...
ungefär 2 år ago | 2 | 2 solvers
Problem
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...
mer än 2 år ago | 1 | 22 solvers
Problem
Ambiguous concatenation
Give two expressions that can have different meaning inside/outside a concatenation expression.
mer än 2 år ago | 0 | 4 solvers
Solved
Check if equal
Return true if all the elements of an nD array are equal, false otherwise.
mer än 2 år ago
Solved
Curry a function handle
From Wikipedia, Currying: In mathematics and computer science, currying is the technique of converting a function that takes mu...
nästan 3 år ago
Problem
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...
nästan 3 år ago | 0 | 4 solvers
Solved
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...
nästan 3 år ago
Solved
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.
nästan 3 år ago
Problem
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...
nästan 3 år ago | 1 | 19 solvers
Solved
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 ...
nästan 3 år ago
Solved
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...
mer än 3 år ago
Problem
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 ...
mer än 3 år ago | 0 | 2 solvers
Problem
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...
mer än 3 år ago | 0 | 5 solvers
Solved
Dealfun (1.0)
*Short description.* Write a function _dealfun_: [y1,y2,...,yn]=dealfun(fhandle,x1,x2,...,xn) which evaluates the f...
mer än 3 år ago
Problem
Original coordinate of the min element of a subset of elements
ungefär 4 år ago | 2 | 18 solvers
Solved
Restricted Subtraction v1
This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...
mer än 4 år ago
Solved
Restricted Multiplication v1
This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...
mer än 4 år ago
Solved
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* ...
mer än 4 år ago
Solved
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...
mer än 4 år ago
Solved
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...
mer än 4 år ago