Community Profile


Dan W

University of Rochester

Active since 2015


  • First Answer
  • Commenter
  • Solver

View badges

Content Feed

View by


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

8 years ago


Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

8 years ago

Delete row from Matrix
I'm not sure if this is new syntax or not, but it works with R2012a and it's fast and simple. x = rand(100); tic; x([...

9 years ago | 13