Community Profile

photo

ChrisR


Last seen: Today
1.451 total contributions since 2015

Faculty member in civil & environmental engineering

ChrisR's Badges

  • Magic Numbers II Master
  • Sequences And Series I Master
  • ASEE Challenge Master
  • Matrix Patterns II Master
  • Number Manipulation II Master
  • Indexing II Master
  • Leader
  • Puzzler
  • Indexing I Master
  • Number Manipulation I Master
  • Speed Demon
  • Creator
  • Scholar
  • Commenter
  • Draw Letters

View all

Contributions in
View by

Solved


Change the sign
Given a matrix x, return one with each diagonal element replaced by its absolute value and the largest element in absolute value...

26 minutos ago

Solved


A "Complex" Converter: Rectangular Form <-> Polar Form
*BACKGROUND / MOTIVATION:* Complex numbers can be an important tool in an electrical engineer's toolbox because they can help...

alrededor de 1 hora ago

Solved


Tiling a matrix
Given a matrix and a number of columns, replicate matrix in a single row

alrededor de 2 horas ago

Problem


Solve the Challenger puzzle

alrededor de 2 horas ago | 0

Solved


Evaluate the gamma function
The <https://mathworld.wolfram.com/GammaFunction.html gamma function> is a generalization of the factorial, and it appears in ma...

alrededor de 3 horas ago

Solved


This is a palindrome and so am I
A palindrome is a sequence of characters which reads the same backward or forward, for instance 'a man a plan a canal panama'...

alrededor de 3 horas ago

Solved


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

alrededor de 13 horas ago

Solved


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

alrededor de 23 horas ago

Solved


Assignment Problem
Given a matrix where row i corresponds to person i, and column j corresponds to task j and cell (i,j) corresponds to the time ta...

alrededor de 24 horas ago

Solved


Create a random logical vector of N elements of which M are true.
Your task for tomorrow is to create a random binary (logical) vector of N elements of which M are true. For example: ran...

1 día ago

Solved


Zero
given an integer a, find the smallest possible integer b(b>0) such that their bitwise logical AND is zero. * if a=11(1011) t...

1 día ago

Solved


XOR fibonacci
a & b are the first two terms in the xor fibonacci sequence. Find the nth term of that sequence. XOR fib sequence is that in ...

1 día ago

Solved


Percentage
There is x liter water and y gram => z is percentage of salt in water

2 días ago

Solved


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

2 días ago

Solved


Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.

2 días ago

Solved


How tall are you?
measures your height forexample= 175cm 180cm 169cm

2 días ago

Solved


Step number
Step number

2 días ago

Solved


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

2 días ago

Solved


Angle of triangle
For three unknown points a b c, given three sides ab bc ca, find three angles abc bca cab in radians. Your function should b...

2 días ago

Solved


Sort in descending order.

2 días ago

Problem


Evaluate the prime zeta function

2 días ago | 0

Solved


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

2 días ago

Solved


The proportion of NaN in the data
If NaN occupies less than half of the input data, return 1, otherwise return 0. eg. input x = [1 2 NaN ; 4 NaN 6] >>> out...

3 días ago

Solved


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

4 días ago

Solved


Funny problems
Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end

4 días ago

Solved


英語の文章内の母音を取り除くコードを書きましょう。
与えられた英語の文章内の母音を取り除きましょう。 例: 入力 s1 が 'Jack and Jill went up the hill' の場合、 出力 s2 は 'Jck nd Jll wnt p th hll' * (英語版) ...

4 días ago

Load more