Resuelto


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...

más de 1 año hace

Resuelto


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?

más de 1 año hace

Resuelto


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)

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Sum of series VIII

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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?

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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 ...

más de 1 año hace

Resuelto


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 ...

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


to the 2 all elements
to the 2 all elements

más de 1 año hace

Resuelto


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...

más de 1 año hace

Resuelto


Draw a '0' in a one matrix!

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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;...

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Laws of motion 2

más de 1 año hace

Resuelto


Total energy

más de 1 año hace

Resuelto


Potential energy calculation

más de 1 año hace

Resuelto


Kinetic energy calculation

más de 1 año hace

Cargar más