Feeds
已解决
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 days 前
已解决
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...
2 days 前
已解决
MATLAB 101: Find alternating sum
Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …
2 days 前
已解决
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 days 前
已解决
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 days 前
已解决
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...
3 days 前
已解决
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...
3 days 前
已解决
Calculate Verification Coverage
Before a system can be verified, each applicable requirement should have an associated verification activity. Given the total n...
4 days 前
已解决
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...
4 days 前
已解决
Covering rectangle area of a four-pointed star polygon
Given the four-pointed star polygon formed by the rectangle, with dimensions l1xl2, and four triangles, with height, h, from the...
4 days 前
已解决
Test if a Number is a Palindrome without using any String Operations
*Description* Given an integer _X_, determine if it is a palindrome number. That is, _X_ is equal to the _X_ with the digits ...
4 days 前
已解决
Decode a simplified barcode
Given a bar code from this <http://www.mathworks.com/matlabcentral/cody/problems/602-make-a-simplified-bar-code exercise>: Re...
4 days 前
已解决
Make a simplified barcode
Given an integer to encode, make a barcode using the following encoding scheme: * The bar code is made from the binary versio...
4 days 前
已解决
Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...
4 days 前
已解决
Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...
4 days 前
已解决
Geometry time!(easy)
Suppose that we have a square and its Area is given. Then we have the following circle (with center O) which has the same radius...
7 days 前
已解决
Almost done with the "tutorial"(Perimeter of a circle)
Find the perimeter of a circle(P) if radius r is given.
7 days 前
已解决
Not yet geometry(equilateral triangle)
Type the formula of the area(A) of an equilateral triangle with a side of a. Tip: As a string.
7 days 前
已解决
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. ...
7 days 前
已解决
Not yet geometry(square, rectangle and trapezium)
Type the formula of the area of a square(Asq) of side(a), a rectangle(Arec) of length(l) and width(w) and of a trapezium(Atr) of...
7 days 前
已解决
Not yet geometry(triangles)
Write the formula of the area of a triangle(A) that has a height of h and a base of b. Tip: Write the formula as a string.
7 days 前
已解决
Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...
7 days 前
已解决
remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...
7 days 前
已解决
Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...
7 days 前
已解决
Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)
7 days 前
已解决
Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)
7 days 前
已解决
Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)
7 days 前
已解决
Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)
7 days 前
已解决
Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...
7 days 前








