Community Profile

photo

Ben Petschel


1,453 2009 年以降の合計貢献数

連絡する

Ben Petschel's バッジ

  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Project Euler I
  • Magic Numbers Master
  • CUP Challenge Master
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • Cody Challenge Master
  • Scholar
  • ASEE Challenge Master
  • Tiles Challenge Master
  • Promoter

すべて表示

貢献した分野
表示方法

送信済み


cyclebasis
Find a basis for the cycle subspace of a graph/network.

1年以上 前 | ダウンロード 4 件 |

送信済み


Fractions Toolbox
create and manipulate fractions (K+N/D) using exact arithmetic

2年以上 前 | ダウンロード 3 件 |

解決済み


Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the ...

3年以上 前

解決済み


convert?
* Given a string containing a number followed by pounds or kgs, for example: * 'Billy lost 22 pounds in four weeks.' * 'Maria ...

3年以上 前

解決済み


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

3年以上 前

解決済み


Find the qube of a give number.
You are given a number, find the qube of that number.

3年以上 前

解決済み


modulus of a number
find the modulus of a given number

3年以上 前

解決済み


find lenth of array
you have given an array, find the length of that.

3年以上 前

解決済み


ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

3年以上 前

解決済み


FizzBuzz
<http://c2.com/cgi/wiki?FizzBuzzTest FizzBuzz Test> The "Fizz-Buzz test" is an interview question designed to help filter out...

3年以上 前

解決済み


Coin Tossing: Probability of Same Heads for N tosses
A pair of physicists toss a coin n times each. What is the probability that they tossed the same number of heads? *Input:*...

3年以上 前

解決済み


Make a logical diamond using GALLERY function
Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/1078-make-a-diamond Problem 1078. Make a diamond> In thi...

3年以上 前

解決済み


Create a random vector of integers with given sum
Your task today is to write a function that returns a vector of integer numbers, between, and including, 1 and m, of which the s...

3年以上 前

解決済み


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

3年以上 前

解決済み


Generalized Fibonacci
The Fibonacci sequence is defined as: Fib(1) = 0 Fib(2) = 1 Fib(N) = Fib(N-1) + Fib(N-2) The Fibonacci sequence ca...

3年以上 前

解決済み


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

3年以上 前

解決済み


Create a 5x4 array consisting of the input value, x.
Create a 5x4 array consisting of the input value, x.

3年以上 前

解決済み


Low level NaN
* I have a dataset. Columns represents different variables. * A variable may start with NaN or any double type number. * If i...

3年以上 前

解決済み


Add two hex numbers
Add two hex numbers

3年以上 前

解決済み


Determinant without using det()
Given a square matrix A, compute the <http://en.wikipedia.org/wiki/Determinant determinant> of A. Note that you may not use t...

3年以上 前

解決済み


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

3年以上 前

解決済み


Number of Flip Flop required in ripple counter
Find the number of flip flop required in ripple counter. If modulus of counter (N) is given find outnumber of Flip Flop (n) r...

3年以上 前

解決済み


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

3年以上 前

解決済み


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

3年以上 前

解決済み


Spherical Volume
Calculate the volume of a sphere.

3年以上 前

解決済み


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

3年以上 前

解決済み


multiply an array by its position number
You have given an array. Multiply an array by its position number

3年以上 前

解決済み


Print the largest eigenvalue of A(500)
Write a function that prints the largest eigenvalue of A(500), without any extraneous output. For a positive integer n, let A...

3年以上 前

解決済み


Evaluating continued fractions
Given row vector c=[c0 c1 c2 c3 ...] evaluate the continued fraction x=c0+1/(c1+1/(c2+1/(c3+...))) If c is a ...

3年以上 前

解決済み


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

3年以上 前

Load more