photo

Pieter van den Berg


Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

12 years ago

Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

12 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

12 years ago

Solved


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

12 years ago

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

12 years ago

Solved


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

12 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

12 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

12 years ago

Solved


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 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

12 years ago

Solved


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

12 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

12 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

12 years ago

Question


overloaded subsref and display vs. command line
Hi, when I overload subsref in a class, I can explicitly call the builtin subsref to get to the methods and properties of the...

12 years ago | 1 answer | 1

1

answer

Answered
Command window output of still running task
A hack that worked very well for me is to overload the built-in disp function with something that writes the output of the built...

13 years ago | 0

Question


Command window output of still running task
Hello, does anyone whether there is a way to get the command window output of a task while it is still running? If not, is...

13 years ago | 3 answers | 0

3

answers