Piet Bouwens
Followers: 0 Following: 0
Statistiques
RANG
212 687
of 290 025
RÉPUTATION
0
CONTRIBUTIONS
1 Question
0 MATLAB Answers
ACCEPTATION DE VOS RÉPONSES
100.0%
VOTES REÇUS
0
RANG
of 19 622
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...
plus d'un an il y a
Question
Find complete rows that meet a condition
I would like to find a way to select rows from an array that meet a certain condition. In the case of single elements this is ve...
plus d'un an il y a | 1 réponse | 0
1
réponseA résolu
Big numbers, least significant digits
Given two numbers, x and n, return the last d digits of the number that is calculated by x^n. In all cases, d will be the number...
presque 2 ans il y a
A résolu
Recursion at variable input
input of any length a =2 b =2 c =3 output = (a^b)^c = 64
presque 2 ans il y a
A résolu
Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...
presque 2 ans il y a
A résolu
An asteroid and a spacecraft
🚀 Imagine a non-relativistic simple situation. Assume positions p0, p1, p2, and p3 are three dimensional Cartesian ...
presque 2 ans il y a
A résolu
Mandelbrot Numbers
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...
presque 2 ans il y a
A résolu
Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...
presque 2 ans il y a
A résolu
Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...
presque 2 ans il y a
A résolu
Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...
presque 2 ans il y a
A résolu
Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...
presque 2 ans il y a
A résolu
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
presque 2 ans il y a
A résolu
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...
presque 2 ans il y a
A résolu
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...
presque 2 ans il y a
A résolu
Approximation of Pi
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...
presque 2 ans il y a
A résolu
geometric progression
I've modified my <http://uk.mathworks.com/matlabcentral/cody/problems/2800-arithmetic-progression previous program> so that it n...
presque 2 ans il y a
A résolu
arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...
environ 2 ans il y a
A résolu
Largest Geometric Series
Extension of Ned Gulley's wonderful <http://www.mathworks.com/matlabcentral/cody/problems/317 Problem 317>. In a geometric se...
environ 2 ans il y a
A résolu
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
environ 2 ans il y a
A résolu
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...
environ 2 ans il y a
A résolu
Find the stride of the longest skip sequence
We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....
environ 2 ans il y a
A résolu
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
environ 2 ans il y a
A résolu
Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum. Given a matrix ...
environ 2 ans il y a
A résolu
Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?
environ 2 ans il y a
A résolu
Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?
environ 2 ans il y a
A résolu
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?
environ 2 ans il y a
A résolu
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
environ 2 ans il y a