Resuelto


Another colon problem
This is simple problem based on problems 555, 801, 1118, etc. Create an index vector from two input vectors. Example: ...

alrededor de 2 meses hace

Resuelto


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

alrededor de 2 meses hace

Resuelto


Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

alrededor de 2 meses hace

Resuelto


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

alrededor de 2 meses hace

Resuelto


Largest territory
Determine whose territory is largest. If there are multiple numbers tied for the largest territory, return the smallest number. ...

alrededor de 2 meses hace

Resuelto


counting groups!
This problem is about counting groups. Example If you have x: x = [0.8 0.8 0.8 0.3 0.3 0.4 0.5 0.6 0.6 0.9] then a...

alrededor de 2 meses hace

Resuelto


Three...is a magic number.
Yes it is... It's a magic number... To help you get rid of that earworm, here's a new Cody problem. You are given a squar...

alrededor de 2 meses hace

Resuelto


Time Expansion
How can you slow down any discrete-time signal? Example Input original signal x. x = [1 2 3 -1 -2 -5 -4] We want t...

alrededor de 2 meses hace

Resuelto


Back to basics - mean of corner elements of a matrix
Calculate the mean of corner elements of a matrix. e.g. a=[1 2 3; 4 5 6; 7 8 9;] Mean = (1+3+7+9)/4 = 5

alrededor de 2 meses hace

Resuelto


expand intervals
You're given a row vector of an even number of monotonically increasing integers. Each pair of consecutive integers is the lower...

alrededor de 2 meses hace

Resuelto


expand intervals vol.3
This is the next problem after <http://www.mathworks.co.uk/matlabcentral/cody/problems/2528 2528> and <http://www.mathworks.co.u...

2 meses hace

Problema


Check Bidirectional Requirement Traceability
Bidirectional traceability ensures that a relationship recorded from a requirement to an architecture element is also reflected ...

2 meses hace | 0 | 22 solvers

Problema


Calculate Architecture Option Score
System architects often compare multiple architecture candidates against several evaluation criteria. Given a matrix containing...

2 meses hace | 0 | 22 solvers

Problema


Evaluate Requirement Test Results
During system verification, measured values are compared against requirement limits. Given a set of measured results and corres...

2 meses hace | 0 | 25 solvers

Problema


Calculate Verification Coverage
Before a system can be verified, each applicable requirement should have an associated verification activity. Given the total n...

2 meses hace | 0 | 22 solvers

Problema


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 meses hace | 0 | 25 solvers

Problema


Calculate Series System Availability
Consider a system in which every component must operate successfully for the complete system to function. Given the individual ...

2 meses hace | 0 | 22 solvers

Problema


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 meses hace | 0 | 27 solvers

Problema


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 meses hace | 0 | 26 solvers

Problema


Calculate Requirement Traceability Coverage
Traceability helps ensure that system requirements are connected to downstream engineering artifacts such as architecture elemen...

2 meses hace | 0 | 29 solvers

Problema


Find Unallocated Requirements
During system development, requirements are allocated to system elements such as sensors, controllers, actuators, or software co...

2 meses hace | 0 | 29 solvers

Problema


Calculate Requirement Margin
Engineering requirements often specify a limit, while the actual system performance may be better or worse than that limit. Giv...

2 meses hace | 0 | 39 solvers

Problema


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 meses hace | 1 | 38 solvers

Resuelto


compress sequence into intervals
You're given a row vector of monotonically increasing integers most of which are consecutive. Find the upper and lower bounds of...

2 meses hace

Resuelto


expand intervals vol.2
Similar to problem <http://www.mathworks.co.uk/matlabcentral/cody/problems/2528 2528>. This is a more general case, when bounds ...

2 meses hace

Resuelto


return row and column indices given 2 values which define a range
Inspired by problem http://www.mathworks.co.kr/matlabcentral/cody/problems/856-getting-the-indices-from-a-matrice Inputs: - matr...

3 meses hace

Resuelto


remove single elements
Given a vector of integers, remove the elements that have appeared only once. The output elements should be in exact order as th...

3 meses hace

Resuelto


Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

4 meses hace

Resuelto


Sieve of Eratosthenes - 02
"Sift the Two's and Sift the Three's, The Sieve of Eratosthenes. When the multiples sublime, The numbers that remain a...

4 meses hace

Resuelto


Travelling Salesman Problem (TSP)
Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...

4 meses hace

Cargar más