Solved


Find square of given number
Find Square of any number

4 years ago

Solved


easy problem
Find the last element of the array

4 years ago

Solved


Summation of integers

4 years ago

Solved


Flow rate in a pipe

4 years ago

Solved


Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

4 years ago

Solved


Draw the symbol '+'
Draw '+' in an x-by-x matrix (where x is odd and x >3) Example: x = 5 y = [0 0 1 0 0 0 0 1 0 0 1 1 1 1 1 0 ...

4 years ago

Solved


Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

4 years ago

Solved


Draw "T" inside a Zero Matrix
Given a x-by-x matrix filled with zeros (x> 2). Use 1 to draw a letter "T" into it! Like this: x = 5, y = 1 1 1 1 1 0 0 1 0 0...

4 years ago

Solved


Draw "C" in a zero matrix
Given a x-by-x matrix filled with zeros (x> 4). Use 1 to draw a letter C into it! Like this: x = 5, y = 1 1 1 1 1 1 0 0 0 0 ...

4 years ago

Question


Moving sum with variable window
The moving sum can be calculated in MATLAB with movsum. However, that function requires that the window be a scalar. Is there a ...

5 years ago | 1 answer | 1

1

answer

Question


Convolution using non-constant kernel?
Is there a faster way of performing convolution using a non-constant kernel than with a loop? The kernel contains values complet...

5 years ago | 2 answers | 0

2

answers

Question


Quicker way to subtract large vectors using a sliding window?
Below is code with comments for two versions of vector subtraction using a sliding window. I got the math to work (first method ...

5 years ago | 2 answers | 0

2

answers

Question


MATLAB Compare Tool in 2021b
Some changes have been made to the comparison tool in MATLAB 2021b that are steps backwards, in my opinion. Or, there are prefer...

5 years ago | 1 answer | 2

1

answer

Solved


sign function

5 years ago

Solved


step function

5 years ago

Solved


Draw matrix 'Swiss flag'( Euro 2020)
Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

5 years ago

Solved


3n + 1 Problem (a.k.a The Collatz Conjecture)
The 3n + 1 problem (a.k.a The Collatz Conjecture) Consider the following algorithm to generate a sequence of numbers. Start wit...

5 years ago

Solved


imaginary

5 years ago

Solved


Real

5 years ago

Solved


NaN

5 years ago

Solved


Tribonacci Sequence
Generate the tribonacci sequence upto n

5 years ago

Solved


F.R.I.E.N.D.S

5 years ago

Solved


How many Christmas presents under the tree?
For many families at Christmas, each family member gives 1 present to every other family member. The main exception is that chil...

5 years ago

Answered
Problemas in Cody Area
Mariola, I just checked your community profile and I do not see any Cody progress. Are you sure that you were logged into mathwo...

5 years ago | 0

Solved


Diagonal Prod

5 years ago

Solved


Generate Golomb's sequence
Generate Golomb's sequence up to the given number. If n=4, then seq = [1, 2, 2, 3, 3, 4, 4, 4] If n=6, then s...

5 years ago

Solved


Wythoff Sequence
Find the lower Wythoff sequence up to n. For more information, <https://oeis.org/A000201>

5 years ago

Poll


What is your favorite type of Cody Problem Group?

5 years ago | 1777 votes | 3 comments

Load more