Community Profile

photo

KO


484 total contributions since 2017

KO's Badges

  • Scholar
  • CUP Challenge Master
  • Solver

View details...

Contributions in
View by

Solved


give nth decimal place of pi
max 15th place after the decimal point is ok for now

11 mesi ago

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

11 mesi ago

Solved


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

12 mesi ago

Solved


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

12 mesi ago

Solved


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

12 mesi ago

Solved


raise 1/3
Raise a number to 1/3 power.

12 mesi ago

Solved


My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

12 mesi ago

Solved


Step up
For given input array, output a array with all elements step up by two

12 mesi ago

Solved


Reverse CHECKBOX MATRIX with 69
Create a reverse checkbox matrix with '69'. Where the size is the input and output will be a square checkbox matrix. Exa...

12 mesi ago

Solved


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

12 mesi ago

Solved


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

12 mesi ago

Solved


Add one raw in given matrix as shown in example
*Add one raw in given matrix as shown in example* A=[1 0;0 1]; X=[3 5]; Answer must be:[1 0; 0 1;3 5]

12 mesi ago

Solved


Nth root
Nth root of a number x

12 mesi ago

Solved


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

12 mesi ago

Solved


Linear system of equations
Solve the system of equations in three variables.

12 mesi ago

Solved


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

12 mesi ago

Solved


Extract a specific part of matrix!
In the given matrix, extract element that have odd rows and column number. For example A=[1 4 2 3 5] B=extractodd(A);...

12 mesi ago

Solved


Reverse Concatenation
Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output shou...

12 mesi ago

Solved


Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

12 mesi ago

Solved


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

12 mesi ago

Solved


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

12 mesi ago

Solved


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

12 mesi ago

Solved


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

12 mesi ago

Solved


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

12 mesi ago

Solved


row removal
Consider a matrix and remove the first row of the matrix.

12 mesi ago

Solved


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

12 mesi ago

Solved


"Power matrix" of two vectors
Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).

12 mesi 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?

12 mesi ago

Solved


modulus of a number
find the modulus of a given number

circa un anno 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?

circa un anno ago

Load more