
Programming Languages:
C++
Spoken Languages:
Chinese
Pronouns:
No pronouns - Use my name only
C++
Spoken Languages:
Chinese
Pronouns:
No pronouns - Use my name only
Feeds
已解决
Which YAxis does this Graphic object belong to?
Your function gets a graphic object in an Axes that has 2 YAxis. Can you determine which YAxis does this object belong to?
3 months 前
问题
Which YAxis does this Graphic object belong to?
Your function gets a graphic object in an Axes that has 2 YAxis. Can you determine which YAxis does this object belong to? I pr...
3 months 前 | 0 | 2 个解题者
已解决
Classify triangles as acute, obtuse, or right
In an acute triangle, the three interior angles are acute, or smaller than 90 degrees. In an obtuse triangle, one angle is obtus...
4 months 前
已解决
Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...
4 months 前
问题
Dimensional FindGroupsN
The upgraded version of the built-in findgroups, supports any data type, and you can specify a split dimension, and missing valu...
4 months 前 | 0 | 0 个解题者
已解决
Pipeline - Variable-length Input
Design the |gt|(>) method of |function_handle| so that: >> 1 > @sin > @cos ans = 0.666366745392881 >> cos(sin(1...
12 months 前
已解决
Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.
3 years 前
问题
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...
3 years 前 | 2 | 2 个解题者
问题
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...
3 years 前 | 1 | 22 个解题者
问题
Ambiguous concatenation
Give two expressions that can have different meaning inside/outside a concatenation expression.
3 years 前 | 0 | 4 个解题者
已解决
Check if equal
Return true if all the elements of an nD array are equal, false otherwise.
3 years 前
已解决
Curry a function handle
From Wikipedia, Currying: In mathematics and computer science, currying is the technique of converting a function that takes mu...
3 years 前
问题
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...
3 years 前 | 0 | 4 个解题者
已解决
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...
3 years 前
已解决
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.
3 years 前
问题
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...
3 years 前 | 1 | 19 个解题者
已解决
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 ...
3 years 前
已解决
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...
4 years 前
问题
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 ...
4 years 前 | 0 | 2 个解题者
问题
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...
4 years 前 | 0 | 5 个解题者
已解决
Dealfun (1.0)
*Short description.* Write a function _dealfun_: [y1,y2,...,yn]=dealfun(fhandle,x1,x2,...,xn) which evaluates the f...
4 years 前