Community Profile

photo

Kuei-Yang Tseng


Last seen: 2 months ago Active since 2017

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Content Feed

View by

Question


How can I detect a peak signal inside a periodic pulse array and generate the waveform like the figure below?
array_pulse = [0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0] array_signal = [0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,...

5 months ago | 1 answer | 0

1

answer

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

5 years ago

Solved


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

5 years ago