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.

fast 4 Jahre 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 ...

fast 4 Jahre 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([...

etwa 4 Jahre ago | 9