Community Profile

photo

Benjamin Kraus


Last seen: 거의 2년 전 2010년부터 활동

Benjamin Kraus is a Software Engineer at MathWorks. He earned his B.S. in Biological Engineering (with a minor in Computer Science) at Cornell University, and his M.S. and Ph.D. in Biomedical Engineering at Boston University. His Ph.D. thesis in the field of Neuroscience involved studying episodic memory using electrophysiology to measure brain activity in awake behaving rats.

통계

All
  • Personal Best Downloads Level 2
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • Promoter
  • Commenter
  • Solver

배지 보기

Content Feed

보기 기준

제출됨


matwho
Quickly list the variables in the specified .MAT file.

거의 11년 전 | 다운로드 수: 1 |

제출됨


readPLXFileC
A MEX function to read a PLX data file (Plexon, Inc.).

거의 11년 전 | 다운로드 수: 13 |

제출됨


nanconv
Convolution in 1D or 2D ignoring NaNs and (optionally) correcting for edge effects.

거의 11년 전 | 다운로드 수: 14 |

제출됨


nantowhite
Convert a 2D matrix into an image with NaNs replaced by white

거의 11년 전 | 다운로드 수: 1 |

Thumbnail

제출됨


nanconvn
Convolution in ND ignoring NaNs and (optionally) correcting for edge effects.

거의 11년 전 | 다운로드 수: 2 |

문제를 풀었습니다


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

거의 11년 전

문제를 풀었습니다


Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

거의 11년 전

문제를 풀었습니다


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

거의 11년 전

문제를 풀었습니다


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

거의 11년 전

문제를 풀었습니다


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

거의 11년 전

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

거의 11년 전

문제를 풀었습니다


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

11년 초과 전

문제를 풀었습니다


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

거의 12년 전

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

거의 12년 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

거의 12년 전

문제를 풀었습니다


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

거의 12년 전

문제를 풀었습니다


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

거의 12년 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

거의 12년 전

문제를 풀었습니다


Sort numbers by outside digits
Sort the array so that they are sorted as if their value was a 5 digit number made from the first three and last two digits of t...

거의 12년 전

문제를 풀었습니다


Poker Series 05: isStraight
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

거의 12년 전

문제를 풀었습니다


Poker Series 04: isFlush
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

거의 12년 전

문제를 풀었습니다


Poker Series 03: isFullHouse
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

대략 12년 전

문제를 풀었습니다


Poker Series 02: isQuads
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is to...

대략 12년 전

문제를 풀었습니다


Poker Series 01: isStraightFlush
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

대략 12년 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

대략 12년 전

문제를 풀었습니다


Eight Queens Solution Checker
Write a function to verify whether an arrangement of queens on a chessboard is a valid solution to the classic <http://en.wikipe...

대략 12년 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

대략 12년 전

문제를 풀었습니다


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

대략 12년 전

문제를 풀었습니다


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

대략 12년 전

문제를 풀었습니다


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

대략 12년 전

더 보기