Statistiques
0 Problèmes
87 Solutions
RANG
N/A
of 301 229
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 21 196
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
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
plus d'un an il y a
A résolu
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
plus d'un an 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...
plus d'un an il y a
A résolu
Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...
plus d'un an il y a
A résolu
Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...
plus d'un an il y a
A résolu
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
plus d'un an 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?
plus d'un an il y a
A résolu
Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?
plus d'un an 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?
plus d'un an 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?
plus d'un an 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?
plus d'un an il y a
A résolu
Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?
plus d'un an il y a
A résolu
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
plus d'un an il y a
A résolu
the average value of the elements
Calculate the average value of the elements in the array
plus d'un an il y a
A résolu
Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?
plus d'un an il y a
A résolu
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
presque 2 ans il y a
A résolu
Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.
presque 2 ans il y a
A résolu
Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...
presque 2 ans il y a
A résolu
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
presque 2 ans il y a





