Solved


Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

3 years ago

Solved


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

3 years ago

Solved


find the value

3 years ago

Solved


Diagonal Prod

3 years ago

Solved


Swap

3 years ago

Solved


Swap rows

3 years ago

Solved


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

3 years ago

Solved


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

3 years ago

Solved


delta x

3 years ago

Solved


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

3 years ago

Solved


F.R.I.E.N.D.S

3 years ago

Solved


speed limit alert

3 years ago

Solved


Row avg

3 years ago

Solved


Matrix operation

3 years ago

Solved


step function

3 years ago

Solved


area

3 years ago

Solved


sign function

3 years ago

Solved


Size

3 years ago

Solved


modulus of a number
find the modulus of a given number

3 years ago

Solved


Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.

3 years ago

Solved


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

3 years ago

Solved


Insert zeros

3 years ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

3 years ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

3 years ago

Solved


Find the max element of the array
Find the max element of the array

3 years ago

Solved


to the 2 all elements
to the 2 all elements

3 years ago

Solved


Double all elements in the array
Duplicate all elements in the array

3 years ago

Solved


03 - Matrix Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3a.png>> A 9x9 matrix full of 2's (Hint: use *ones* o...

3 years ago

Solved


02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>

3 years ago

Solved


02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

3 years ago

Load more