Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Cadence Calculator : check if number is greater than 1

Status
Not open for further replies.

DaHomer

Newbie level 5
Newbie level 5
Joined
Jul 30, 2016
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
70
Hi,

I just want to check for each element of a waveform vector, if it is greater than 1.
The result should be a vector of the same size with 0 and 1 as values.

Do you have an idea, how to do this?

Greetings,
DaHomer
 

Do you surely mean vector ?
Data of PSF is not vector.
It is a waveform.
Waveform consists from two vectors.

plot( if(wf > 1.0 then 1.0 else 0.0) )
 

Excuse me, I meant Nx2-matrix or waveform.:grin:

Thanks for the help, that works!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top