Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
10年弱 前
解決済み
Rounding
Round 10.67 and make 'y' equal to that number.
10年弱 前
解決済み
Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...
10年弱 前
解決済み
Double colon operator: Counting down
* Construct a row array countValues from startValue to endValue, elements decremented by -2
Ex: If startValue is 10 and end...
All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...
10年弱 前
解決済み
Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input variable 'x', save it to disk in a file named 'co...
10年弱 前
解決済み
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input matrix, generate an output matrix that consists o...
10年弱 前
解決済み
Multiply a column by a row
* Given a column vector C and and a row vector R.
* Output a matrix M.
* Every column of M equals to C multiplied by correspon...