Community Profile

photo

Davide Perrone


Last seen: mer än ett år ago Active since 2019

Statistics

All
  • Personal Best Downloads Level 1
  • First Submission
  • First Review
  • Solver

View badges

Content Feed

View by

Solved


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

mer än 3 år ago

Solved


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

mer än 3 år ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

mer än 3 år ago

Submitted


Modularity
Modularity for undirected/directed, unweighted/weighted networks

mer än 3 år ago | 9 downloads |

Solved


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

nästan 4 år ago

Solved


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

nästan 4 år ago

Solved


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

nästan 4 år ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

nästan 5 år ago