Community Profile


Justin Whetten

Active since 2016


  • First Answer
  • Solver

View badges

Content Feed

View by

Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A
For anyone who might be struggling still with this function sum=halfsum(A); sum = 0; [row,col] = size(A); ...

6 years ago | 0


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

6 years ago