help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Picking up the correct index values


From: Doug Stewart
Subject: Re: Picking up the correct index values
Date: Wed, 27 May 2020 09:46:11 -0400



On Wed, May 27, 2020 at 9:14 AM GK19 <address@hidden> wrote:
I have 4 arrays, two combinations of Nwell and Pwell voltages of Transistor 1
and Transistor 2
For transistor 1
vnw_1 =
   0.00000     0.90000

vpw_1 =
  -1.8000  -1.2000
So we define as ( Vn, Vp) as ( 0.00000, -1.8000) and another ( 0.90000,
-1.2000) these are the combination respectively.

for Transistor 2
vnw_2 =
   0.90000   0.00000
vpw_2 =
  -1.20000   0.20000
Similarly we have ( Vn, Vp) as ( 0.90000, -1.2000)  and another ( 0.00000,
0.20000)
we can see that ( 0.90000, -1.2000) is common in T1 and T2.
I want to get the common voltage as the output
Answer ( 0.90000, -1.2000)
How do i do that? There is nothing linked to the concepts of transistors,
just i need that combination as the output. How do i do that ? Please help
me



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


My code gets 3 outputs!!!!


t1=[0, .9;-1.8,-1.2]
t2=[.9, 0 ; -1.2 ,.2]
q1=(t1(1,1)==t2)
q2=(t1(1,2)==t2)
q3=(t1(2,1)==t2)
q4=(t1(2,2)==t2)
ws=q1+q2+q3+q4
output= t1(ws==1)



output =

   0.00000
  -1.80000
   0.90000


--
DASCertificate for 206392


reply via email to

[Prev in Thread] Current Thread [Next in Thread]