Determine value using Look-up table method
Given a set of 2 vectors x and y related in a certain way, you are supposed to find value of y (ydash) given a particular value ...
Restricted Subtraction v1
This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45265-restricted-addition-v4 Restricted Addition v4> with...
Is this function available?
Sometimes it is difficult to remember which functions are not allowed on the Cody platform. Given a function as a string, return...
5年以上 前
解決済み
Derivative function
Given a function handle f, generate a function that evaluates the derivative of f
Examples:
f = @sin;
df = De...
5年以上 前
解決済み
Place numbers
Given two input first input is a matrix which consist of the index numbers of the second input vector. You place the second inpu...
5年以上 前
解決済み
Clamper Function
Create a function that emulates a clamper circuit
Given sin wave, t and the constant value for clamping
5年以上 前
解決済み
Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...
Infinite precision division
Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...
5年以上 前
解決済み
Hexagonal numbers on a spiral matrix
Put hexagonal numbers in a ( m x m ) spiral matrix and return the sum of its diagonal elements.
Formula of hexagonal numbers ...
Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...