# Arpad Barsi

### TU Budapest

BSc in surveying, MSc in civil engineering, PhD in earth sciences

**Statistics**

RANK**N/A**

of 271.651

REPUTAZIONE**N/A**

CONTRIBUTI

**0** Domande

**0** Risposte

ACCETTAZIONE DELLE RISPOSTE **
0.00%
**

VOTI RICEVUTI**0**

RANK**5.410** of 18.321

REPUTAZIONE**208**

VALUTAZIONE MEDIA**2.00**

CONTRIBUTI**1** File

DOWNLOAD **1**

ALL TIME DOWNLOAD**2035**

CONTRIBUTI**0 Post**

CONTRIBUTI**0** Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI**0** Punti principali

NUMERO MEDIO DI LIKE

**Content Feed**

Risolto

Index of neighbor pixel with steepest gradient

Unlike in various applications, where the gradient of a two dimensional matrix is calculated in x and y direction, the gradient ...

circa 2 anni fa

Risolto

Create different color vectors.

When producing figures with multiple lines on, you often want the lines to all be visible and different colors. Given the need f...

circa 2 anni fa

Risolto

Create an 8-color version of an image

This problem was inspired by a tweet I saw from @MATLAB regarding <http://www.mathworks.com/matlabcentral/fileexchange/37816-the...

circa 2 anni fa

Risolto

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

circa 2 anni fa

Risolto

Scoring for oriented dominoes

Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

circa 2 anni fa

Risolto

Back to basics 21 - Matrix replicating

Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

circa 2 anni fa

Risolto

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

circa 2 anni fa

Risolto

Make blocks of color

Given a (Nx3) sequence of RGB colors, I want to create a (numRowBlocks x numColBlocks x 3) image comprising (blockSize x blockSi...

circa 2 anni fa

Risolto

Convert RGB triplet to ColorSpec string

This is the inverse to <http://www.mathworks.com/matlabcentral/cody/problems/42612-convert-colorspec-string-to-rgb-triplet this ...

circa 2 anni fa

Risolto

RGB to CMYK

Convert an RGB code to the corresponding CMYK code for printing. The RGB input is a [1×3] double array between 0 and 1. ...

circa 2 anni fa

Risolto

Change a specific color in an image

The ability to change colors can be a useful tool in image processing. Given an m x n x 3 array (much like CData in images), fin...

circa 2 anni fa

Risolto

2D - Mean Filter

Assume you are given an "image" matrix of size NxM. Reduce the image noise by implementing a mean filter window of size 9 (a 3x3...

circa 2 anni fa

Risolto

Sum of the pixel values for the blue color

Calculate the sum of the pixel values for the blue color, with a picture as an input. *NOTE:* The picture will be provided as...

circa 2 anni fa

Risolto

Convert ColorSpec string to RGB triplet

Given a ColorSpec string, either in short or long form, return the corresponding RGB triplet. If the input is not a valid color,...

circa 2 anni fa

Risolto

Convert hex color specification to MATLAB RGB

Here's something that comes up all the time if you deal with web pages. Given a <http://www.w3schools.com/html/html_colors.as...

circa 2 anni fa

Risolto

Calculate the Levenshtein distance between two strings

This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

circa 2 anni fa

Risolto

Given two strings, find the maximum overlap

Given two strings s1 and s2, create a new string s3 which is as short as possible and contains both strings. If s1 = [1 2...

circa 2 anni fa

Risolto

Knight's Tour Checker

Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

circa 2 anni fa

Risolto

Connect Four Win Checker

<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

circa 2 anni fa

Risolto

Get the area codes from a list of phone numbers

Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-6...

circa 2 anni fa

Risolto

Longest Divisor Run

Given the vector a, find the longest run of consecutive numbers that can be evenly divided by the same number d where d > 1. ...

circa 2 anni fa

Risolto

Remove the small words from a list of words.

Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

circa 2 anni fa

Risolto

Prime factor digits

Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

circa 2 anni fa

Risolto

Given a window, how many subsets of a vector sum positive

Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

circa 2 anni fa

Risolto

Implement simple rotation cypher

If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

circa 2 anni fa

Risolto

Renaming a field in a structure array

MATLAB has a <http://www.mathworks.com/help/techdoc/ref/setfield.html setfield> and a <http://www.mathworks.com/help/techdoc/ref...

circa 2 anni fa

Risolto

Counting in Finnish

Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

circa 2 anni fa

Risolto

Remove the polynomials that have positive real elements of their roots.

The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the <http://www.ma...

circa 2 anni fa

Risolto

DNA N-Gram Distribution

Given a string s and a number n, find the most frequently occurring n-gram in the string, where the n-grams can begin at any poi...

circa 2 anni fa

Risolto

Tic Tac Toe FTW

Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...

circa 2 anni fa