Community Profile

# Ahmet KARAMAN

Last seen: 15 jours il y a Actif depuis 2021

Programming Languages:
Python, C++, C, Java, R, MATLAB, HTML, Arduino, Assembly

#### Content Feed

Afficher par

A résolu

Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

15 jours 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...

environ un mois il y a

A résolu

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end),...

environ un mois 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...

environ un mois il y a

A résolu

Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

environ un mois il y a

A résolu

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

environ un mois il y a

A résolu

Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

environ un mois il y a

A résolu

Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

environ 2 mois il y a

A résolu

Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

environ 2 mois il y a

A résolu

Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to ...

environ 2 mois il y a

A résolu

Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

environ 2 mois il y a

A résolu

(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
This problem is inspired by problems <http://uk.mathworks.com/matlabcentral/cody/problems/2187-generalized-fibonacci 2187>, <htt...

environ 2 mois il y a

A résolu

Is X a Fibonacci Matrix?
In honor of Cleve's new blog and post: <http://blogs.mathworks.com/cleve/2012/06/03/fibonacci-matrices/> Is X a Fibonacci ...

environ 2 mois il y a

A résolu

Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...

environ 2 mois 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...

environ 2 mois il y a

A résolu

Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

environ 2 mois il y a

A résolu

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

environ 2 mois 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...

environ 2 mois il y a

A résolu

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

environ 2 mois il y a

A résolu

Converts numbers into characters
Converts numbers into characters

environ 2 mois il y a

A résolu

Find the max element of the array
Find the max element of the array

environ 2 mois il y a

A résolu

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

environ 2 mois il y a

A résolu

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

environ 2 mois il y a

A résolu

to the 2 all elements
to the 2 all elements

environ 2 mois il y a

A résolu

the average value of the elements
Calculate the average value of the elements in the array

environ 2 mois il y a

A résolu

Double all elements in the array
Duplicate all elements in the array

environ 2 mois il y a

A résolu

calculate the length of matrix
input 1 array, calculate the length

environ 2 mois il y a

A résolu

Draw a '0' in a one matrix!

environ 2 mois il y a

A résolu

Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

environ 2 mois il y a

A résolu