Community Profile

# Clemens Giegerich

### Sanofi-Aventis Deutschland GmbH

Last seen: 5 maanden ago Active since 2012

#### Content Feed

View by

Solved

Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

ongeveer 7 jaar ago

Solved

Product of elements in row
Product of matrix such that a=[3 3 1] b=9

ongeveer 7 jaar ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

ongeveer 7 jaar ago

Solved

Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

ongeveer 7 jaar ago

Solved

Find the relation
Take x as input and y as output. If x=1 y=3 If x=2 y=14 If x=3 y=39 If x=4 y=84 Based on this relation find giv...

ongeveer 7 jaar ago

Solved

Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

ongeveer 7 jaar ago

Solved

Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

ongeveer 7 jaar ago

Solved

Find the biggest digit in a matrix
Write a function to find the biggest digit in a matrix; input -> a matrix output -> a digit For example; [12; 47;...

ongeveer 7 jaar ago

Solved

Integer to boolean
Write a general function that will create the following conversation; Input is a column vector with integers Output is a b...

ongeveer 7 jaar ago

Solved

Determine the length of a string of characters
Determine the length of a string of characters

ongeveer 7 jaar ago

Solved

Largest Prime Number
Given a matrix X, find the largest prime number in X.

ongeveer 7 jaar ago

Solved

Is My Wife Wrong?

ongeveer 7 jaar ago

Solved

Get ranking of a combination looking for speed.
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

ongeveer 7 jaar ago

Solved

Get ranking of a combination
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

ongeveer 7 jaar ago

Solved

matrix zigzag
Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

ongeveer 7 jaar ago

Solved

Fermat's Last Theorem - Fermat's conjecture
Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that no three positive integers a...

ongeveer 7 jaar ago

Solved

Edges of a n-dimensional Hypercube
Return the number of edges on an <http://en.wikipedia.org/wiki/Hypercube _n_-dimensional hypercube> (with an integer n &ge; 0). ...

ongeveer 7 jaar ago

Solved

Recurring Cycle Length (Inspired by Project Euler Problem 26)
Preface: This problem is inspired by <http://projecteuler.net/problem=26 Project Euler Problem 26> and uses text from that quest...

ongeveer 7 jaar ago

Solved

Best Square-Shaped Grid for Subplot
If you have x number of plots, find the optimum 'm' number of rows and 'n' number of columns for subplotting where the overall f...

ongeveer 7 jaar ago

Solved

Measure a Special Distance
Given an n-by-2 matrix with positive and negative numbers, return an n-by-n matrix in the manner of the function template.

ongeveer 7 jaar ago

Solved

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

ongeveer 7 jaar ago

Solved

Joining Ranges
You are given a n-by-2 matrix. Each row represents a numeric range, e.g. x = [0 5; 10 3; 20 15; 16 19; 25 25] contains...

ongeveer 7 jaar ago

Solved

Solve Quadratic : No * - or key functions permitted
Solve the quadratic equation *ax^2+bx+c=0*. However, some of the normal functions and symbols are not allowed. x=[ -b +/- sq...

ongeveer 7 jaar ago

Solved

love is an n-letter word
Given a list of *N words*, return the *N-letter word* (choosing one letter from each word) with the property of having the least...

ongeveer 7 jaar ago

Solved

Multiplication
Multiply two numbers in a different manner. The numbers are given to you as vectors x and y. Example x = [ 1 2 0 1 ] ...

ongeveer 7 jaar ago

Solved

Three...is a magic number.
Yes it is... It's a magic number... To help you get rid of that earworm, here's a new Cody problem. You are given a squar...

ongeveer 7 jaar ago

Solved

Find the jerk
No, it's not the author of this problem... Jerk is the rate of change in acceleration over time of an object. So, if given t...

ongeveer 7 jaar ago

Solved

is this number Munchhausen Narcissistic?
in this problem, simply return 1 if a supplied number is Munchhausen narcissistic or 0 if not. eg 153 is narcissistic but not...

ongeveer 7 jaar ago

Solved

Usage of java.math : N Choose K with unlimited precision
Calculate the binomial coefficient nchoosek with full accuracy. This challenge may use the wonderful word of java.math that allo...

ongeveer 7 jaar ago

Solved

Factorial: Unlimited Size : java.math
This challenge is an application of java.math that allows unlimited precision calculations. The primary reference sites are <ht...

ongeveer 7 jaar ago