Cody

elias zoarob

Rank
Score
1 – 13 of 13

Separate even from odd numbers in a vector - with a loop

Created by: Shaul Salomon

Find the average of a random sequance

Created by: Shaul Salomon

Given a matrix A return a vector of the product of the elements in each column using a loop without using prod.

Created by: Yoav Shallev

Tags matrix, basics

Rearrange the given matrix to have all its zeros climb up to the top of each column - using for loops.

Created by: Yoav Shallev

Tags loops

How many Integers?

Created by: Shaul Salomon

Tags 22105, loops

Given a matrix A (size m x n) create a matrix B (size m+2 x n+2) which consists of matrix A surrounded by zeros. See Example below:

Created by: Yoav Shallev

Given a matrix A (size m x n) create a matrix B which consists of matrix A sorted in descending order by columns and then by rows.

Created by: Yoav Shallev

Given a Vector v1, create v2 which is the sum of each two adjacent elements in v1. {length(v2)=length(v1)-1}

Created by: Yoav Shallev

Tags basics, vectors

Horizontal matrix sort

Created by: Shaul Salomon

Vertical matrix sort

Created by: Shaul Salomon

Sum of adjacent elements in a vector

Created by: Shaul Salomon

Tags 22105, vectors

Remove the first, third and fifth rows of a matrix

Created by: Shaul Salomon

Sum of Two Numbers

Created by: Shaul Salomon

1 – 13 of 13