Feeds
已解决
Given a Matrix add a frame of 0's to it
for x as the input = [ 8 7 9 8 2 4 3 2 6 7 5 3] then output y sould be = out=[0 0 0 0 0 ...
1 day 前
已解决
Even Logic. Instant Results
Write a MATLAB function isEven(n) that takes an integer n as input and returns true if the number is even, and false if it is od...
6 days 前
已解决
Reverse-engineer a vector from its summary statistics.
Your task is to write a function that takes a set of statistical metrics and generates a vector 'x' of integers that satisfies t...
10 days 前
已解决
Matrix Column Standardizer
Write a function scaled_mat = standardize_columns(A) that standardizes each column of a 2D matrix A using z-score normalization....
10 days 前
已解决
Count Even Numbers
Write a function count = count_evens(vec) that takes a 1D array (vector) of numbers vec and returns the total count of even numb...
10 days 前
问题
Reverse-engineer a vector from its summary statistics.
Your task is to write a function that takes a set of statistical metrics and generates a vector 'x' of integers that satisfies t...
11 days 前 | 0 | 2 个解题者
已解决
Steal, Share, or Catch: Tournament of Champions
I am no longer supporting this problem. No changes will be made to put more entries in the test suite, but have fun playing any...
15 days 前
已解决
Steal, Share, or Catch
You, I, and a few other characters are going to play a game of *Steal, Share or Catch*. We are going to play it 10,000 times vs...
15 days 前
已解决
Collaborative Fun : Nomination
Series of problems have been presented in Cody aiming at collaborative fun. This problem is based on Alfonso's problem #2825 - P...
16 days 前
已解决
the proud tradition of zero scores in Cody
The short version is: *_your function should return a zero and also have a zero score/size_* The long version comes with a li...
16 days 前
已解决
feeling VERY lucky?
Just like Matthew's problem 2793 and Edward's problem 2872 (guess the number that Cody is thinking) but now you must solve it in...
16 days 前
已解决
Back to the Future III
Marty McFly and Doc Brown are "back" again. See the test suite to see what they are up to.
16 days 前
已解决
Clear all empty variables from the workspace
I want to clear all empty variables from my workspace. See tests suite.
17 days 前
已解决
You are given a matrix A of size m x n representing a Sudoku puzzle. The matrix contains digits from 1 to 9, where 0 represents an empty cell. Your task is to solve the Sudoku puzzle by filling in the empty cells with the correct digits.
The provided code implements a solution for solving Sudoku puzzles using a recursive backtracking algorithm. Sudoku is a log...
17 days 前
已解决
Image Processing 01: Vignetting Correction
The task is to correct image files for IR scanning sensors that due to errant tolerancing and structural instability have varyin...
17 days 前
已解决
Precise Almost Pythagorean Triples
This is essentially the same as: Problem 52834. Easy Sequences 32: Almost Pythagorean Triples; it even presents the same set o...
17 days 前
已解决
Dimensional FindGroupsN
The upgraded version of the built-in findgroups, supports any data type, and you can specify a split dimension, and missing valu...
17 days 前
已解决
switch base, again
Before Dyuman Joshi kindly fixed it, the test suite for problem 60436 contained some syntax errors that made the problem unsolva...
17 days 前
已解决
Largest Prime Factor
Write a function largest_prime_factor(n) that takes a positive integer n as input and returns the largest prime factor of n. A p...
17 days 前
已解决
Calculate the sum of two numbers x and y v2
This is inspired by the broken test suite of problem 59089. As in that problem, your task is simple: calculate the sum of two nu...
17 days 前
已解决
Easy Sequences 107: Minimized Circumcircle-Incircle Areas Ratio of Partial Pythagorean Triangles
We define a Partial Pythagorean Triangle (PPT) as a right triangle wherein the hypotenuse and at least one leg are integers. Thu...
17 days 前
已解决
Easy Sequences 95: LCM Sums
For a given , write the function lcmSum(n), defined as follows: For example for : >> lcmSum = @(n) sum...
17 days 前
已解决
About jokes (and compression)
An argument can be made about jokes. The shorter they are, the funnier. Further explained here: https://en.wikipedia.org/wiki/Hu...
17 days 前
已解决
Get twenty-four
Inpur four integers in 1 to 10, you may use plus, minus, multiply and divid to get 24. Note that every integer should be used on...
17 days 前











