Community Profile

photo

Justin Whetten


Attivo dal 2016

Followers: 0   Following: 0

Statistiche

All
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

Risposto
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 7 anni fa | 0

Risolto


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 7 anni fa