Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
1 month ago
Solved
MATLAB 101: Replace Negatives with Zero
Write a MATLAB function that takes a numeric array (vector or matrix) of numbers and replaces all negative numbers with zero. Po...
2 months ago
Solved
MATLAB 101: Reverse a Vector
Write a MATLAB function that takes a 1D vector (either a row or a column vector) and returns the vector with its elements in exa...
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
2 months ago
Solved
Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
2 months ago
Solved
Geometry time3!(Medium)
This time we have two circles! The shape is given below:
You are requested to calculate the area of the two circles(A1 ,A2) g...
2 months ago
Solved
Test your geometry knowledge!(simple)
We have the following shape and you need to:
1) Find the area of the triangle ABE(A_tr). (Suppose that the angle E is 90 degree...
2 months ago
Solved
Calculate Verification Coverage
Before a system can be verified, each applicable requirement should have an associated verification activity.
Given the total n...
2 months ago
Solved
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...