Alexander Ross
Followers: 0 Following: 0
Feeds
解決済み
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...
約9時間 前
解決済み
FEN to Chess Board
Note: This problem is the reverse, or complement, of Problem 61144 - FEN Chess Notation. Given a FEN (Forsyth-Edwards Notation)...
約11時間 前
解決済み
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...
約12時間 前
解決済み
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...
約13時間 前
解決済み
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...
1日 前
問題
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...
1日 前 | 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...
4日 前
解決済み
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...
4日 前
解決済み
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...
6日 前
解決済み
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...
6日 前
解決済み
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...
7日 前
解決済み
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
7日 前
解決済み
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...
7日 前
解決済み
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;...
7日 前
解決済み
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...
7日 前
解決済み
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].
7日 前
解決済み
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...
7日 前
解決済み
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 ...
7日 前
解決済み
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...
7日 前
解決済み
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...
7日 前
解決済み
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...
7日 前
解決済み
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...
7日 前
解決済み
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...
7日 前
解決済み
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...
7日 前
解決済み
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...
7日 前
解決済み
Check Digit - 02
Given a list of ISBN's, check whether they're valid or not. Prev Prob - <https://www.mathworks.com/matlabcentral/cody/problem...
7日 前
解決済み
Check Digit - 01
The International Standard Book Number (ISBN) is a numeric commercial book identifier that is intended to be unique. It used ...
8日 前
解決済み
Symmetric Pair
Given an (n, 2) matrix, remove any symmetric pairs from the matrix. Keep the first occurrence. (2, 3) and (3, 2) are considere...
8日 前











