Solved


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

1 year ago

Solved


Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

1 year ago

Solved


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

1 year ago

Solved


Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

1 year ago

Solved


Sum of series VIII

1 year ago

Solved


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

1 year ago

Solved


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

1 year ago

Solved


Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

1 year ago

Solved


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

1 year ago

Solved


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

1 year ago

Solved


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

1 year ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

1 year ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

1 year ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

1 year ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1 year ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1 year ago

Solved


Find max
Find the maximum value of a given vector or matrix.

1 year ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

1 year ago

Solved


to the 2 all elements
to the 2 all elements

1 year ago

Solved


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

1 year ago

Solved


Draw a '0' in a one matrix!

1 year ago

Solved


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

1 year ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

1 year ago

Solved


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

1 year ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

1 year ago

Solved


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

1 year ago

Solved


Laws of motion 2

1 year ago

Solved


Total energy

1 year ago

Solved


Potential energy calculation

1 year ago

Solved


Kinetic energy calculation

1 year ago

Load more