Items tagged with boolean boolean Tagged Items Feed

Hi all,

I want to compare two signals where intersections between the two signals represent the instant of command (like boolean pulse) of a thyristor. The two signals are volatges and command of thyristor is boolean. A conversion of voltage to boolean signal should also done, I think ?

Thanks in advance

See image below.

I am looking for an implementation of the Mathematica equivalent of RegionPlot whose description should be like:

RegionPlot(pred,x=x_min..x_max, y=y_min..y_max) makes a plot showing the region in which pred is True.

For example, I would like to execute:

> RegionPlot(f(x,y) > 0 and g(x,y), x=x_min..x_max, y=y_min..y_max)

where g(x,y) outputs True/False.

One idea I had was to use:

> densityplot(`if`(pred,1,0...

In Maple boolean evaluation returns the values 'true' or 'false'.

Is there any canonical way of getting evalb to produce values in {0,1}? This is of some use when testing conjectures on  hudge lists of items...

Of course: you can always define a script like

###########################
evalbb:=proc(PP)
if evalb(PP)='true' then eps:=1:
else eps:=0:
fi:
eps;
end:
###########################

but I think there should be...

I am trying to construct a 7x7 matrix T such that T[i,j]=k, when multiply(monoid[i],monoid[j])=monoid[k]

I've defined monoid to be a boolean matrix such that there is at least one 1 in each row and column.

I am just not sure how to get my input to return the matrix. I keep getting a 7x7 zero matrix.

This is what I have:

T[i,j]:= Matrix(7);for i to 7  

do for j from 1 by 1 to 7    

do T[i,j]:=(multiply(monoid[i...

Augh, this is hurting my brain.  This homework assignment (still the same one as before) is my first experience with Maple.  I'm trying to learn the semantics of the language as I go, and that's been going well for the most part, but there's this one thing that has been bugging me to absolutely NO END:  Logical operators.

Here's what I understand after a lot of internet searching and Help browsing:
-There's two sets of very similar operators. ...

I´d like to use the remove command, to select elements of a list.

E.g.

L:=[1,2,3,4,5,6,7,3,9];

L1:=remove('boolean function',L);

Where can I get an overwiew of all boolean functions, i.e. commands, that output true, false or fail?

E.g. I wanted to simply say

L1:=remove(<>3,L);

which should just leave all "3" values in L1, but that didn´t work. So I needed to define a boolean function to say "if element...

Page 1 of 1