Community Profile

photo

Zikobrelli


1 546 total contributions since 2013

Contact

Zikobrelli's Badges

  • First Review
  • Quiz Master
  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer
  • ASEE Challenge Master
  • Leader
  • Puzzler
  • Scholar
  • Commenter
  • CUP Challenge Master
  • Creator
  • Speed Demon
  • Promoter
  • Solver

View details...

Contributions in
View by

Solved


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

plus d'un an ago

Solved


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

plus d'un an ago

Solved


Television Screen Dimensions
Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

presque 3 ans ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

presque 3 ans ago

Solved


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

presque 3 ans ago

Solved


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

presque 3 ans ago

Solved


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

presque 3 ans ago

Solved


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

plus de 3 ans ago

Solved


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

plus de 3 ans ago

Solved


Cookie Cutters
Given a larger and smaller matrix, perform element-by-element multiplication on the smaller matrix and a sub-matrix of the large...

plus de 3 ans ago

Solved


test_first
just to test

plus de 3 ans ago

Solved


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

plus de 3 ans ago

Solved


Change on Spiral Matrix
n>=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will ...

plus de 3 ans ago

Solved


Change input vector
If a input vector is [3, 2, 6, 1, 6], the output vector is [3, 2, 6, 1, 6] + [1, 2, 3, 4, 5] = [4, 4, 9, 5, 11].

plus de 3 ans ago

Solved


multiple 2
function y = your_fcn_name(x) y = 2*x; end

plus de 3 ans ago

Solved


basics -making a matrix
make a matrix which contains input x as the last element. the intervals should be +1 ex) input = 5 output= [0 1 2 3 4 5] ex)...

plus de 3 ans ago

Solved


determine if
determine if the elements of a matrix is a nan and return true

plus de 3 ans ago

Solved


sum all the elements
sum all the elements in the matrix ex) x=[1 2 3 4; 5 6 7 8; 9 10 11 12] y=78

plus de 3 ans ago

Solved


cheating technique1
in these cody problems, there is a way to cheat. find out how people cheat.

plus de 3 ans ago

Solved


find a number (cheat)
find a number input^5 = input the out put should be the number. try cheating

plus de 3 ans ago

Solved


sum as columns
sum as columns.

plus de 3 ans ago

Solved


cheating technique2
there are some ways to get hints just by looking at the test suits to cheat. try.

plus de 3 ans ago

Solved


y=x
y=x

plus de 3 ans ago

Solved


'Price of pizza!'
If you want to check pizza's price, try this! price is proportional to its volume, so you have to multiply 0.1($) to pizza's v...

plus de 3 ans ago

Solved


Pairwise column flip
Given matrix *M_in*, flip every pair of columns. So if *M_in* is 1 2 3 4 1 2 3 4 then *M_out* is 2 1 4 3 2 1 4 3 ...

plus de 3 ans ago

Solved


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

plus de 3 ans ago

Solved


Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

plus de 3 ans ago

Solved


Return the length of the longest word in the string.
Example: Input s='A fractal is a natural phenomenon or a mathematical set that exhibits a repeating pattern that display...

plus de 3 ans ago

Solved


create a square matrix
create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...

plus de 3 ans 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) ...

plus de 3 ans ago

Load more