Community Profile


Dan W

University of Rochester

3 total contributions since 2015


Dan W's Badges

  • First Answer
  • Commenter
  • Solver

View details...

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

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

5 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([...

6 years ago | 11