Statistiques
RANG
1 035
of 295 467
RÉPUTATION
70
CONTRIBUTIONS
0 Questions
21 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
13
RANG
12 439 of 20 234
RÉPUTATION
29
CLASSEMENT MOYEN
5.00
CONTRIBUTIONS
1 Fichier
TÉLÉCHARGEMENTS
3
ALL TIME TÉLÉCHARGEMENTS
190
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
QWERTY Shift Encoder
Encode a string using the QWERTY shift code. This code is where you touch type but are offset by one character to the right. ...
plus de 5 ans il y a
A résolu
Convert a structure into a string
Convert the contents of each fields into a string. Example with an input structure s with 2 fields : s.age = '33' s....
plus de 5 ans il y a
A résolu
Ordinal numbers
Given an integer n, return the corresponding ordinal number as a character string. For example, ord(1)='1st' ord(2)=...
plus de 5 ans il y a
A résolu
Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...
plus de 5 ans il y a
A résolu
Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...
plus de 5 ans il y a
A résolu
Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifmq zpv...
plus de 5 ans il y a
A résolu
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
plus de 5 ans il y a
A résolu
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
plus de 5 ans il y a
A résolu
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
plus de 5 ans il y a
A résolu
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
plus de 5 ans il y a
A résolu
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
plus de 5 ans il y a
How to Load Multiple Text Files Without Sequential Names
I make a folder that contains only the text files you want to combine. Then you can do something like this to load the file path...
plus de 5 ans il y a | 0
| A accepté
demapp "IQ array of length 6" to "Bits array of length 12"?
How about this? x = [1+j; -1-j; -1+j; 1-j]; result = [real(x)<0, imag(x)<0]; It turns a column vector of imaginary numbers in...
plus de 5 ans il y a | 0
| A accepté
A résolu
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...
plus de 5 ans il y a
A résolu
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...
plus de 5 ans il y a
A résolu
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, ...
plus de 5 ans il y a
A résolu
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. ...
plus de 5 ans il y a
A résolu
Mandelbrot Numbers
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...
plus de 5 ans il y a
A résolu
Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
plus de 5 ans il y a
A résolu
Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...
plus de 5 ans il y a
A résolu
Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...
plus de 5 ans il y a
A résolu
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...
plus de 5 ans il y a
A résolu
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...
plus de 5 ans il y a
A résolu
Implement a ROT13 cipher
Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...
plus de 5 ans il y a
A résolu
Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...
plus de 5 ans il y a
A résolu
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 ...
plus de 5 ans il y a
A résolu
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...
plus de 5 ans il y a