MATLAB Answers

how flip the signal as below?

조회 수: 26(최근 30일)
X=[1 2 -5 4 -7 8 9 -4 -5 6 1 -2 3 -6 ]
I want to program the following using "if"
If the value of Xp is higher than "0", pass the signal
But if the value of Xp is less than "0", make it equal to "0"
If Xn is less than "0", pass the value
If Xn is higher than "0", make it equal to "0"
After finishing the program
flip the negative signal
Pass the flip negative signal successively after the positive signal
  댓글 수: 2
abdullah qasim
abdullah qasim 2 Oct 2019
program by using " if ......else "

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2 Oct 2019
fliplr()

추가 답변(0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by