Gelöst


how to concatenate matrices
What is the name of the function used to create a matrix C form two matrices A and B, using the syntax: C = [A B]; Outpu...

3 Tage vor

Gelöst


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

3 Tage vor

Gelöst


Hilbert Scan Algorithm
As Zig-Zag and Horizontal ... we have also a < <Hilbert> <Scan> > as shown in this article <http://link.springer.com/chapter/10....

3 Tage vor

Gelöst


Stop a ZigZag scanning N*N Matrix at any diag you want
Suppose that we have a 2-D matrix and we try to obtain a 1-D array in zig-zag order, but not all values of our 2-D matrix e...

3 Tage vor

Gelöst


Adaptive ZigZag
Unfold a 2-D matrix to a 1-D array in Adaptive zig-zag order, e.g., for matrix [ 1 2 5 6; 3 4 7 8; 9 10 13 14; ...

3 Tage vor

Gelöst


Create a 3D rotation matrix from roll-pitch-yaw angles
Consider a robotics application where the world reference coordinate frame {W} and a robot manipulator arm with an attached tool...

4 Tage vor

Gelöst


Orientation of a 3D coordinate frame
The orientation of a body-fixed frame {B} with respect to the world frame {W} is described by an SO(3) rotation matrix. Compute...

4 Tage vor

Gelöst


Determine roll pitch yaw angles from a 3D rotation matrix
Consider an aerospace application where the world reference coordinate frame {W} and a body-fixed coordinate frame {B}. The ori...

4 Tage vor

Gelöst


Homogeneous lines and points in 2D: problem 1
In high school we learn the line equation y = mx + c where m is the gradient and c is the intercept. However this form is proble...

4 Tage vor

Gelöst


Upstairs!
The stair has n steps. Every times you can up one or two steps. Give all the different solutions to upstairs. For example n ...

4 Tage vor

Gelöst


Successive zeros (harder)
The problem is from Problem 45436, <https://www.mathworks.com/matlabcentral/cody/problems/45436-successive-zeros> Suppose n i...

4 Tage vor

Gelöst


Solve Sudoku puzzle step by
Sudoku is a famous puzzle. <https://en.wikipedia.org/wiki/Sudoku> Give a standard sudoku by a matrix (9*9), You need give a ...

4 Tage vor

Gelöst


Big Integer Sqrt
You will be given a big integer, you should return the square root of it. input: '16' output: '4' have fun!

4 Tage vor

Gelöst


Project Euler: Problem 14 Longest Collatz sequence(harder version)
This problem is a harder version of "Problem 44448. Project Euler: Problem 14 Longest Collatz sequence", because of time limits....

4 Tage vor

Gelöst


Compute the intersect point of line and plan
Compute the intersect point of line and plan. eg. line AB, the coordinate of A is (1,2,3) the coordinate of B is (-4,-5,-6...

4 Tage vor

Gelöst


Return fibonacci sequence do not use loop and condition version 3
Calculate the nth Fibonacci number,return sequence Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... ...

4 Tage vor

Gelöst


Backgammon #5 - Valid Move?
A previous problem in this occasional series (Problem 45967) set up a possible representation of a backgammon board: White ston...

5 Tage vor

Gelöst


Backgammon #3 - Display a Board Position
A previous problem in this occasional series (Problem 45967) set up a possible representation of a backgammon board: White ston...

5 Tage vor

Gelöst


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

5 Tage vor

Gelöst


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

5 Tage vor

Gelöst


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

5 Tage vor

Gelöst


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

5 Tage vor

Gelöst


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...

5 Tage vor

Gelöst


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

5 Tage vor

Gelöst


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...

5 Tage vor

Gelöst


Count Active Architecture Elements
A system architecture may contain several elements, but not all elements are active in a particular configuration. Given a logi...

5 Tage vor

Gelöst


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

5 Tage vor

Gelöst


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

5 Tage vor

Gelöst


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

5 Tage vor

Gelöst


Check Requirement Compliance
A system requirement specifies a maximum allowable value for a system parameter.Given a set of measured values and the correspon...

5 Tage vor

Mehr laden