Community Profile


Justin Whetten

Attivo dal 2016


  • First Answer
  • Solver

Visualizza badge

Content Feed

Visto da

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

oltre 6 anni fa | 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...

oltre 6 anni fa