Mersenne Primes vs. All Primes
A Mersenne prime (M) is a prime number of the form M = 2^p - 1, where p is another prime number. <https://www.mathworks.com/matl...
3ヶ月 前
解決済み
Approximation of Pi (vector inputs)
Pi (divided by 4) can be approximated by the following infinite series:
pi/4 = 1 - 1/3 + 1/5 - 1/7 + ...
For a given numbe...
3ヶ月 前
解決済み
geometric progression
I've modified my <http://uk.mathworks.com/matlabcentral/cody/problems/2800-arithmetic-progression previous program> so that it n...
3ヶ月 前
解決済み
arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...
3ヶ月 前
解決済み
Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum.
Given a matrix ...
3ヶ月 前
解決済み
Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...
3ヶ月 前
解決済み
Largest Geometric Series
Extension of Ned Gulley's wonderful Problem 317.
In a geometric series, ratio of adjacent elements is always a constant value. ...
SatCom #7: Thermal Noise in a Receiver
Satellite and Space Engineering - Problem #7
This is part of a series of problems looking at topics in satellite and space comm...
Starburst Mandala
Create a mandala starburst using diagonal and orthogonal symmetry in a matrix.
3ヶ月 前
解決済み
Hourglass Mandala
Generate an hourglass shape using matrix geometry and symmetry.
e.g. N = 5;
1 1 1 1 1;
0 1 1 1 0;
...
3ヶ月 前
解決済み
Vertical Mirror Mandala
Create a symmetric left-right mirrored pattern in an N×N matrix to emulate mandala reflection symmetry.
e.g. N = 5;
...
3ヶ月 前
解決済み
Plus Cross Mandala
Create a symmetrical plus (+) shaped pattern centered in an N×N matrix.
3ヶ月 前
解決済み
Diagonal Cross Mandala
Generate an N×N matrix with diagonals highlighted to form an artistic X-shaped mandala pattern.
e.g. N = 5;
1 0 0...
3ヶ月 前
解決済み
Concentric Squares Mandala
Generate concentric square rings of alternating 1s and 0s to form a layered mandala-style matrix.
e.g. N = 5;
1 1 1 1 1;...
3ヶ月 前
解決済み
Circular Ring Approximation Mandala
Generate a matrix that approximates a circular ring using distance-based thresholding , a visually rich mandala-inspired challen...