Community Profile

photo

Paul


Marquette University

160 2014 이후 총 참여 횟수

http://paulkaefer.com
Professional Interests: data analysis, statistics, computer science

담당자

Paul's 배지

  • Quiz Master
  • CUP Challenge Master
  • Creator
  • Commenter
  • Speed Demon
  • Promoter
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

약 4년 전

해결됨


make a 10x10 vector of random numbers between 1 and 1000 and convert it into a 10x10 of all zeros
function heck_yes y = randi(10,1000) Converted = zeros(y)

4년 이상 전

해결됨


Try and Catch Simple Example
Try and Catch Simple Example <http://in.mathworks.com/help/matlab/ref/try.html Example> Vector x=[1 4 6 8 10]; Create...

4년 이상 전

해결됨


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

4년 이상 전

해결됨


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

4년 이상 전

해결됨


Omit columns averages from a matrix
Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...

4년 이상 전

해결됨


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

4년 이상 전

해결됨


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

5년 이하 전

해결됨


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

5년 이하 전

해결됨


Array of Ones
Create a 100 X 100 array of ones.

5년 이하 전

해결됨


y equals x divided by 2
function y = x/2

5년 이하 전

해결됨


square number
Square a number

5년 이하 전

해결됨


Rotate and display numbered tile
Imagine a square tile with four numbers on it, one on each edge. We will call these edges north, east, south, and west. If th...

5년 이하 전

해결됨


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

5년 이하 전

해결됨


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

5년 이하 전

해결됨


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

5년 이하 전

해결됨


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

5년 이하 전

해결됨


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

5년 이하 전

해결됨


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more <http://www.snopes.com/language/apocryph/cambridge.asp here>) asserted that readers are re...

5년 이하 전

해결됨


Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provide...

5년 이하 전

해결됨


All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

5년 이하 전

해결됨


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

5년 이하 전

해결됨


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

5년 이하 전

해결됨


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

5년 이하 전

해결됨


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

5년 이하 전

해결됨


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

5년 이하 전

해결됨


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

5년 이하 전

해결됨


Area of a rectangle
Find the area of a rectangle with sides a and b

5년 이하 전

해결됨


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

5년 이하 전

해결됨


Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

5년 이하 전

Load more