統計
All
Feeds
解決済み
Singularity v5 (with apologies to the true hack masters)
Since the vast majority of recent problems are how to hack Cody, here's another one, with an even more malformed test suite than...
3日 前
解決済み
Given a Matrix add a frame of 0's to it
for x as the input = [ 8 7 9 8 2 4 3 2 6 7 5 3] then output y sould be = out=[0 0 0 0 0 ...
10日 前
解決済み
Reverse-engineer a vector from its summary statistics.
Your task is to write a function that takes a set of statistical metrics and generates a vector 'x' of integers that satisfies t...
12日 前
解決済み
Even Logic. Instant Results
Write a MATLAB function isEven(n) that takes an integer n as input and returns true if the number is even, and false if it is od...
14日 前
解決済み
Matrix Column Standardizer
Write a function scaled_mat = standardize_columns(A) that standardizes each column of a 2D matrix A using z-score normalization....
18日 前
解決済み
Count Even Numbers
Write a function count = count_evens(vec) that takes a 1D array (vector) of numbers vec and returns the total count of even numb...
18日 前
解決済み
Play Games of Beggar My Neighbor
Beggar my neighbor, as it is most commonly referred to, is a simple deterministic card game. A standard 52 card deck is shuffled...
約1ヶ月 前
解決済み
Compute the comma transform of an integer sequence
Consider the sequence formed by the multiples of 19: 19, 38, 57, 76, 95, 114, 133, 152, 171, 190, 209, 228,… A new sequence ca...
約1ヶ月 前
解決済み
Check if an FAA N-Number is Valid
An N-number is a unique registration assigned by the Federal Aviation Administration (FAA) to every civil aircraft operating in ...
約1ヶ月 前
解決済み
Write a function that gives the ReLU of the input.
The ReLU function is given by, In here, x input can be a scalar, vector or a matrix.
約1ヶ月 前
解決済み
N-Queens: Count All Valid Arrangements
The N-Queens puzzle places N queens on an N×N chessboard such that no two queens attack each other. A queen can attack another ...
約2ヶ月 前
解決済み
Matrix Diagonal Sum
Given a square matrix A of size n x n, write a function to compute the sum of the elements on both the main diagonal and the ant...
約2ヶ月 前
解決済み
Check Bidirectional Requirement Traceability
Bidirectional traceability ensures that a relationship recorded from a requirement to an architecture element is also reflected ...
約2ヶ月 前
解決済み
Calculate Architecture Option Score
System architects often compare multiple architecture candidates against several evaluation criteria. Given a matrix containing...
約2ヶ月 前
解決済み
Evaluate Requirement Test Results
During system verification, measured values are compared against requirement limits. Given a set of measured results and corres...
約2ヶ月 前
解決済み
Calculate Verification Coverage
Before a system can be verified, each applicable requirement should have an associated verification activity. Given the total n...
約2ヶ月 前
解決済み
Calculate Availability of a Redundant Pair
Redundancy can improve system availability by allowing the system to continue operating when one of two independent components f...
約2ヶ月 前
解決済み
Calculate Series System Availability
Consider a system in which every component must operate successfully for the complete system to function. Given the individual ...
約2ヶ月 前
解決済み
Count System Architecture Interfaces
An architecture can be represented using a connectivity matrix. Each row and column represents a system element, while a value o...
約2ヶ月 前
解決済み
Count Active Architecture Elements
A system architecture may contain several elements, but not all elements are active in a particular configuration. Given a logi...
約2ヶ月 前
解決済み
Calculate Requirement Traceability Coverage
Traceability helps ensure that system requirements are connected to downstream engineering artifacts such as architecture elemen...
約2ヶ月 前
解決済み
Find Unallocated Requirements
During system development, requirements are allocated to system elements such as sensors, controllers, actuators, or software co...
約2ヶ月 前
解決済み
Calculate Requirement Margin
Engineering requirements often specify a limit, while the actual system performance may be better or worse than that limit. Giv...
約2ヶ月 前
解決済み
Check Requirement Compliance
A system requirement specifies a maximum allowable value for a system parameter.Given a set of measured values and the correspon...
約2ヶ月 前
解決済み
Calculate integrals using numerical methods 3.
Now let's compare the 2 previous rules. Using the "Simpson 1/3" rule and the trapezoidal rule, NOT THE SIMPLE ONES, calculate th...
約2ヶ月 前
解決済み
Calculate integrals using numerical methods 2.
Calculate the following integral(I) using the SIMPLE(thus n =1) trapezoidal rule: The llimits(a,b) of the integral will be gi...
約2ヶ月 前
解決済み
Calculate integrals using numerical methods 1.
Calculate the following intergral using the SIMPLE "Simpson 1/3" rule: Further explanation: a is the upper limit of the inte...
約2ヶ月 前
解決済み
Swap the column given with another one!
We have a random sized matrix A. You have to change the nth column with the kth column. The result must be a matrix B. For exam...
約2ヶ月 前
解決済み
Almost done with the "tutorial"(Perimeter of a circle)
Find the perimeter of a circle(P) if radius r is given.
約2ヶ月 前
解決済み
Not yet geometry(Circles)
Type the formula of the area(Ac) of a circle with radius r and a sector of a circle(As) with radius r and angle theta in rads. ...
約2ヶ月 前











