Martin Roempert
Followers: 0 Following: 0
- Technische Hochschule Karlsruhe - ITK Engineering AG - Continental Teves AG & Co. oHG
Python, C, MATLAB, SQL
Spoken Languages:
English, German
Pronouns:
He/him
Statistiques
RANG
5 998
of 295 638
RÉPUTATION
8
CONTRIBUTIONS
1 Question
1 Réponse
ACCEPTATION DE VOS RÉPONSES
100.0%
VOTES REÇUS
4
RANG
of 20 255
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
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 d'un an 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 d'un an 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 d'un an il y a
A résolu
Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...
plus de 2 ans il y a
A résolu
Simple Decoder Ring
The stereotypical _decoder ring_ is remembered as a cereal box prize from the 1950s. Kids learned about cryptography by startin...
plus de 2 ans il y a
A résolu
Morse Code Generator! Try it!
.... . .-.. .-.. --- . ...- . .-. -.-- --- -. . -.-.-- .-.. . - ... -.. --- ... --- -- . -- --...
plus de 2 ans il y a
A résolu
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
environ 3 ans il y a
A résolu
How many digits are there?
Input(s) - any string Output(n) - number of digits within string s
plus de 3 ans il y a
A résolu
Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...
plus de 3 ans il y a
A résolu
Change on Spiral Matrix
n>=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will ...
plus de 3 ans il y a
A résolu
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
plus de 3 ans il y a
A résolu
Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...
plus de 3 ans il y a
A résolu
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
plus de 3 ans il y a
A résolu
Function composition
Write a function that accepts two function handles f and g and returns the composition h. That is, h = (f o g)(x) = f(g(x)) ...
plus de 3 ans il y a
A résolu
Back to basics 13 - Input variables
Covering some basic topics I haven't seen elsewhere on Cody. Return as a string the name of the input variable to the functio...
plus de 3 ans il y a
A résolu
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...
plus de 3 ans il y a
A résolu
Back to basics 2 - Function Path
Covering some basic topics I haven't seen elsewhere on Cody. Given a string that is the name of a MATLAB function, return a s...
plus de 3 ans il y a
A résolu
Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...
plus de 3 ans il y a
A résolu
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
plus de 3 ans il y a
A résolu
Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...
plus de 3 ans il y a
A résolu
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
plus de 3 ans il y a
A résolu
Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
plus de 3 ans il y a
A résolu
Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...
plus de 3 ans il y a
A résolu
Create a function handle that reverses the input arguments of another function handle
Given a function that takes two input arguments and returns one output, create another function handle that performs the same op...
plus de 3 ans il y a
A résolu
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
plus de 3 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 3 ans il y a