Community Profile

photo

Mehdi BENSEDDIK


National Institute of Posts and Telecommunications

Last seen: ongeveer 4 jaar ago Active since 2019

Major Engineer in Electronics and Embedded Systems

Statistics

All
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 1
  • GitHub Submissions Level 3
  • First Submission
  • Commenter
  • Solver

View badges

Content Feed

View by

Solved


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

meer dan 4 jaar ago

Solved


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

bijna 5 jaar ago

Solved


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

bijna 5 jaar ago

Solved


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

bijna 5 jaar ago

Solved


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

bijna 5 jaar ago

Submitted


MAX274_2nd_4th_6th_8th_Order_Filter
The MAX274 is continuous-time active filter consisting of independent cascadable 2nd-Order sections. It comprises four 2nd-order...

bijna 5 jaar ago | 3 downloads |

Thumbnail

Solved


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

bijna 5 jaar ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

bijna 5 jaar ago

Solved


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

bijna 5 jaar ago

Solved


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.

bijna 5 jaar ago

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

bijna 5 jaar ago

Solved


Return area of square
Side of square=input=a Area=output=b

bijna 5 jaar ago

Solved


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

bijna 5 jaar ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

bijna 5 jaar ago

Submitted


Probability-of-Detection
Calculate the probabilities of detection with several values of SNR for Matched_Filter Cross_Correlation Energy_Detection and Go...

bijna 5 jaar ago | 5 downloads |

Thumbnail

Solved


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

bijna 5 jaar ago

Solved


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

bijna 5 jaar ago

Solved


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

bijna 5 jaar ago

Submitted


BandPass_Filter
I implemented a BandPass Filter of 2nd Order into simulink by using Analog components : Resistors and Capacitors.

bijna 5 jaar ago | 1 download |

Thumbnail

Solved


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

bijna 5 jaar ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

bijna 5 jaar ago

Solved


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

bijna 5 jaar ago

Submitted


Goertzel-Algorithm
The Goertzel algorithm is a technic in digital signal processing (DSP) that provides a means for efficient evaluation of individ...

bijna 5 jaar ago | 5 downloads |

Thumbnail

Submitted


Filter_8th_Order_Matlab
Create a 8th order filter in Matlab and pass a noisy sinus pulse through it and see the result in Frequency Domain.

ongeveer 5 jaar ago | 1 download |