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

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

9 mois 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 +...

10 mois ago

Solved


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

10 mois 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]; ...

10 mois ago

Solved


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

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

10 mois ago

Solved


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

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

10 mois ago

Solved


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

10 mois 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) ...

10 mois 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]

10 mois ago

Solved


Nth root
Nth root of a number x

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

10 mois ago

Solved


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

10 mois ago

Solved


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

10 mois 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);...

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

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

10 mois ago

Solved


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

10 mois 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]

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

10 mois ago

Solved


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

10 mois 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].

10 mois ago

Solved


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

10 mois ago

Solved


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

10 mois 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).

10 mois 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?

10 mois ago

Solved


modulus of a number
find the modulus of a given number

11 mois 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?

11 mois ago

Load more