Resuelto


Fermat's last theorem - again
For a given integer n, express it as a sum of two squares if possible. Return empty matrix otherwise. Solution may not be unique...

9 meses hace

Resuelto


How many hours are there in a day in Italy?
Remember "European Summer Time"

9 meses hace

Resuelto


Musical Note Interval 1 - Diatonic Scale
Assuming a simple diatonic C scale, calculate the interval (integer) between two notes (provided as strings). By applying number...

9 meses hace

Resuelto


Classify triangles as acute, obtuse, or right
In an acute triangle, the three interior angles are acute, or smaller than 90 degrees. In an obtuse triangle, one angle is obtus...

9 meses hace

Resuelto


Calculate trends in time series
Create a new variable that has trends in input series. If _t+1_ is bigger than or equal to _t_, than trend in _t_ will be 1, oth...

9 meses hace

Resuelto


Compute the antisigma function
The sum of divisors function, or , is the sum of the numbers that divide . The antisigma function is the sum of numbers less tha...

9 meses hace

Resuelto


Dominant Matrix - 02
It is a follow-up of the problem 55995. There, you found out whether a matrix is diagonally dominant or not. In this problem, y...

9 meses hace

Resuelto


First Duplicate
Given an array of integers, return the first duplicate — i.e., the element that appears more than once and whose second appearan...

9 meses hace

Resuelto


Last Duplicate
Given an array of integers, find the last duplicate element — that is, the element whose second occurrence appears latest in the...

9 meses hace

Resuelto


Most Frequent Characters
Given a document file or a character array, identify the 'n' most frequently occurring characters and the number of times each a...

9 meses hace

Resuelto


'X'avier
Given a square matrix A of size n, write a function to create a new matrix B where only the elements on the main diagonal and th...

9 meses hace

Resuelto


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...

9 meses hace

Resuelto


Unique rows
A matrix is given as the input. Remove any duplicate rows from the matrix. keep the first occurrence.

9 meses hace

Resuelto


Pairs with Given Sum
Given an array of integers and a target sum, return all unique pairs whose sum is equal to the target. The output should be a ma...

9 meses hace

Resuelto


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

9 meses hace

Resuelto


Intersect three sequences
Most numbers have interesting properties, if you look hard enough and interpret “interesting” liberally. Let’s choose a number a...

9 meses hace

Resuelto


Maze Solver with Backtracking and Custom Cost Rules
Write a function solve_maze that finds a path from the top-left corner (1,1) to the bottom-right corner (m,n) of a 2D matrix M, ...

10 meses hace

Resuelto


Find the summation of factorial series
Factorial numbers are n! = 1*2*3....*n the series is 1!, 2!, 3!,........, n!

10 meses hace

Resuelto


Drying sweater?
* A sweater is revolving in a slow low power dryer and losing moisture at any moment at the constant rate 100% of its current mo...

10 meses hace

Resuelto


Acidity of vinegar and salts
Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid ...

10 meses hace

Resuelto


Find the list of all open files
In the test suite, I use <http://www.mathworks.com/help/matlab/ref/fopen.html fopen> to create new files. The task is to find th...

10 meses hace

Resuelto


Cody Computer Part 3 - Detect the graphic card used on Cody Computer
In the Cody computer investigation party, you may have already solved : Problem 522. Cody Computer Part 1 - Guess the system fo...

10 meses hace

Resuelto


Image Series 3 Complementary
Find the Complementary of image which is 8 bits gray scale image. Each pixel is converted to binary format in the image. A...

10 meses hace

Resuelto


Does this dress make me look fat
For the input string "Does xyz make me look fat" output the string "No, xyz does not make you look fat"

10 meses hace

Resuelto


Sum of infinite series.

10 meses hace

Resuelto


Billiards
Considering there are 15 pool balls, (b), in the game of pool, and given a radius, (r). What is the volume, (V), of a rack in th...

10 meses hace

Resuelto


Convert a grayscale image into RGB colour format, preserving data type
In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...

10 meses hace

Resuelto


num7
num

10 meses hace

Resuelto


num3
nam

10 meses hace

Resuelto


nam2
nam

10 meses hace

Cargar más