Community Profile

photo

AHMET BOZ


Last seen: 1년 초과 전 2020년부터 활동

Followers: 0   Following: 0

연락

I am control systems engineer

Programming Languages:
C, MATLAB
Spoken Languages:
English, Turkish

통계

  • Treasure Hunt Participant
  • Commenter
  • Solver

배지 보기

Feeds

보기 기준

문제를 풀었습니다


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

2년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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)...

3년 초과 전

문제를 풀었습니다


Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...

3년 초과 전

문제를 풀었습니다


Weighted average
Compute the weighted average Y, of the vector A, given the weight vector W. The weighted average is the sum of the dot produc...

3년 초과 전

문제를 풀었습니다


Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

3년 초과 전

문제를 풀었습니다


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

3년 초과 전

문제를 풀었습니다


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

3년 초과 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

3년 초과 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3년 초과 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

3년 초과 전

문제를 풀었습니다


Negative without '-'
Simple: return a negative number without using the '-' sign. Thanks to Problem <https://www.mathworks.com/matlabcentral/cody/...

3년 초과 전

문제를 풀었습니다


Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

3년 초과 전

문제를 풀었습니다


Calculate sin(x) without sin(x)
Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

3년 초과 전

문제를 풀었습니다


Temperature Conversion Utility
There are a few problems on Cody regarding temperature conversion (C to K, C to F, F to C), but none include Rankine. Furthermor...

3년 초과 전

문제를 풀었습니다


Number of even divisors of a given number
Given a Number n, return the number of its even divisors without listing them. example: n=14 ; EvenDivisors={2,14} ; y=2 ...

3년 초과 전

문제를 풀었습니다


Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...

3년 초과 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3년 초과 전

문제를 풀었습니다


Perl 1: push
_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

3년 초과 전

문제를 풀었습니다


Raise a polynomial to a power
In Matlab, polynomials are represented by a vector of coefficients. For example, the polynomial p=a*x^2 + b*x + c is represente...

3년 초과 전

문제를 풀었습니다


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

3년 초과 전

문제를 풀었습니다


Multiplication
Multiply two numbers in a different manner. The numbers are given to you as vectors x and y. Example x = [ 1 2 0 1 ] ...

3년 초과 전

문제를 풀었습니다


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

3년 초과 전

문제를 풀었습니다


Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

3년 초과 전

문제를 풀었습니다


modular arithmetic
Given three integers a,b and c, find the remainder when a^b is divided by c. Here, a^b will be well beyond the largest 64 bit in...

3년 초과 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

3년 초과 전