Alexander Ross
Followers: 0 Following: 0
Feeds
已解决
Compute the dilation of a binary image
A basic operation in image analysis is the dilation. Given an image where each pixel is either on or off (black/white, true/fals...
2 days 前
已解决
Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...
7 days 前
已解决
Frobenius McNugget Factorization
Mr. Frobenius McNugget is a peculiar man. As you might expect, he likes to eat Chicken McNuggets. But his love of number theo...
7 days 前
已解决
Convex Hull Capture
Imagine four points in uv that form a square. uv = [ ... 0,0; 0,2; 2,2; 2,0]; Now we have two more po...
8 days 前
已解决
FEN to Chess Board
Note: This problem is the reverse, or complement, of Problem 61144 - FEN Chess Notation. Given a FEN (Forsyth-Edwards Notation)...
8 days 前
已解决
FEN Chess Notation
Note: This problem is the reverse, or complement, of Problem 61155 - FEN to Chess Board. Given an 8-by-8 character matrix repre...
8 days 前
已解决
Balanced Ternary Numbers: Easy as |, |-, |o
This problem concerns the so-called <http://en.wikipedia.org/wiki/Balanced_ternary balanced ternary> system for representing num...
8 days 前
已解决
Determine if a credit card number conforms to American Express, Visa, or Mastercard schema or if it fails to conform to any of these.
When you pay for things online, sometimes when you enter your credit card number, the online merchant is able to instantly ident...
9 days 前
问题
Determine if a credit card number conforms to American Express, Visa, or Mastercard schema or if it fails to conform to any of these.
When you pay for things online, sometimes when you enter your credit card number, the online merchant is able to instantly ident...
9 days 前 | 0 | 4 个解题者
已解决
SatCom #7: Thermal Noise in a Receiver
Satellite and Space Engineering - Problem #7 This is part of a series of problems looking at topics in satellite and space comm...
12 days 前
已解决
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...
12 days 前
已解决
Robust Corner Sum with Special Value Handling in Arrays
Compute the sum of the corner elements of an array (vector or matrix). If any corner element is NaN, return NaN. If any corner...
14 days 前
已解决
Compute Radar Duty Cycle
A pulsed radar transmitter operates for a limited amount of time during each transmission cycle. The duty cycle represents the f...
14 days 前
已解决
Coin distribution
Imagine, u r in a shop. ur bill is n(2200). u want to pay the bill with minimum no of coins u have. u've coins of - 2000,1000...
14 days 前
已解决
Determine if a number is prime
Given a positive integer n, return 1 if it is prime, 0 otherwise. Example: is_prime(7) returns 1, is_prime(4) returns 0
14 days 前
已解决
Simple date to serial no. conversion
Convert a date string to a serial date number. For example if you take x='19-May-2001' then the result is 730990 x...
14 days 前
已解决
Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...
14 days 前
已解决
continuous compounding
what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...
14 days 前
已解决
Create a vector of the first n natural numbers (★)
If n = 7, your program should return a vector y, where y = [1 2 3 4 5 6 7].
14 days 前
已解决
Exhaust all possible logical vectors
Input a length argument and list all possible logical vectors of that length. My solution is of size 29. Can you find an even s...
14 days 前
已解决
Create a v-notch vector without "sort" function
Given a vector vec, create a v-shaped vector as shown below: vec = [ 10 2 3 89 5 7 90 0 12] Output vector = [90 89 12 10 7 5 3 ...
14 days 前
已解决
Jack's hand in "Titanic" ♤
Given a series of cards, return true if it's the famous hand. Note that i pretend that poker cards goes from 1 to 10 so be care...
14 days 前
已解决
Can you Jump?
You have been provided with input array of integers. You start with initial position at the first index of this input array, and...
14 days 前
已解决
Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...
15 days 前
已解决
Repeat a string (not a character array)
True string are a relatively recent addition to MATLAB, first having been available in R2016. Strings contrast with character ar...
15 days 前
已解决
Convert vector of strings to lower triangular matrix
Given a non-empty vector vec of strings, please put its elements into the lower triangular half of a square matrix M column-wise...
15 days 前
已解决
Kurchan 4x4 - Optimal score
Related to Problem 1646, but bigger. Technically, all you need to do for this Cody problem is input a 4x4 matrix containing the...
15 days 前
已解决
Kurchan 5x5 - Optimal Score
Related to Problems 1646 and 2650, but bigger. Technically, all you need to do for this Cody problem is input a 5x5 matrix conta...
15 days 前











