# Appendix a to applied probability: directory of m-functions and m  (Page 4/24)

 Page 4 / 24

mintable.m function y = mintable(n) generates a table of minterm vectors by repeated use of the m-function minterm .

function y = mintable(n) % MINTABLE y = mintable(n) Table of minterms vectors% Version of 3/2/93 % Generates a table of minterm vectors% Uses the m-function minterm y = zeros(n,2^n);for i = 1:n y(i,:) = minterm(n,i);end

minvec3.m sets basic minterm vectors $\mathbf{A},\mathbf{B},\mathbf{C},{\mathbf{A}}^{\mathbf{c}},{\mathbf{B}}^{\mathbf{c}},{\mathbf{C}}^{\mathbf{c}}$ for the class $\left\{A,B,C\right\}$ . (Similarly for minvec4.m, minvec5.m , etc.)

% MINVEC3 file minvec3.m Basic minterm vectors % Version of 1/31/95A = minterm(3,1); B = minterm(3,2);C = minterm(3,3); Ac = ~A;Bc = ~B; Cc = ~C;disp('Variables are A, B, C, Ac, Bc, Cc') disp('They may be renamed, if desired.')

minmap function y = minmap(pm) reshapes a row or column vector pm of minterm probabilities into minterm map format.

function y = minmap(pm) % MINMAP y = minmap(pm) Reshapes vector of minterm probabilities% Version of 12/9/93 % Reshapes a row or column vector pm of minterm% probabilities into minterm map format m = length(pm);n = round(log(m)/log(2)); a = fix(n/2);if m ~= 2^n disp('The number of minterms is incorrect')else y = reshape(pm,2^a,2^(n-a));end

binary.m function y = binary(d,n) converts a matrix d of floating point nonnegative integers to a matrix of binary equivalents, one on each row.Adapted from m-functions written by Hans Olsson and by Simon Cooke. Each matrix row may be converted to an unspaced string of zeros and ones by the device ys = setstr(y + '0').

function y = binary(d,n) % BINARY y = binary(d,n) Integers to binary equivalents% Version of 7/14/95 % Converts a matrix d of floating point, nonnegative% integers to a matrix of binary equivalents. Each row % is the binary equivalent (n places) of one number.% Adapted from the programs dec2bin.m, which shared % first prize in an April 95 Mathworks contest.% Winning authors: Hans Olsson from Lund, Sweden, % and Simon Cooke from Glasgow, UK.% Each matrix row may be converted to an unspaced string % of zeros and ones by the device: ys = setstr(y + '0').if nargin<2, n = 1; end % Allows omission of argument n [f,e]= log2(d); n = max(max(max(e)),n);y = rem(floor(d(:)*pow2(1-n:0)),2);

mincalc.m The m-procedure mincalc determines minterm probabilities from suitable data. For a discussion of the data formatting and certain problems, see 2.6.

% MINCALC file mincalc.m Determines minterm probabilities % Version of 1/22/94 Updated for version 5.1 on 6/6/97% Assumes a data file which includes % 1. Call for minvecq to set q basic minterm vectors, each (1 x 2^q)% 2. Data vectors DV = matrix of md data Boolean combinations of basic sets-- % Matlab produces md minterm vectors-- one on each row.% The first combination is always A|Ac (the whole space) % 3. DP = row matrix of md data probabilities.% The first probability is always 1. % 4. Target vectors TV = matrix of mt target Boolean combinations.% Matlab produces a row minterm vector for each target combination. % If there are no target combinations, set TV = []; [md,nd]= size(DV); ND = 0:nd-1;ID = eye(nd); % Row i is minterm vector i-1 [mt,nt]= size(TV); MT = 1:mt;rd = rank(DV); if rd<md disp('Data vectors are NOT linearly independent')else disp('Data vectors are linearly independent')end % Identification of which minterm probabilities can be determined from the data% (i.e., which minterm vectors are not linearly independent of data vectors) AM = zeros(1,nd);for i = 1:nd AM(i) = rd == rank([DV;ID(i,:)]); % Checks for linear dependence of each endam = find(AM); % minterm vector CAM = ID(am,:)/DV; % Determination of coefficients for the available mintermspma = DP*CAM'; % Calculation of probabilities of available minterms PMA = [ND(am);pma]'; if sum(pma<-0.001)>0 % Check for data consistency disp('Data probabilities are INCONSISTENT')else % Identification of which target probabilities are computable from the dataCT = zeros(1,mt); for j = 1:mtCT(j) = rd == rank([DV;TV(j,:)]);end ct = find(CT);CCT = TV(ct,:)/DV; % Determination of coefficients for computable targets ctp = DP*CCT'; % Determination of probabilitiesdisp(' Computable target probabilities') disp([MT(ct); ctp]') end % end for "if sum(pma<-0.001)>0" disp(['The number of minterms is ',num2str(nd),]) disp(['The number of available minterms is ',num2str(length(pma)),]) disp('Available minterm probabilities are in vector pma')disp('To view available minterm probabilities, call for PMA')

Is there any normative that regulates the use of silver nanoparticles?
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
why we need to study biomolecules, molecular biology in nanotechnology?
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
why?
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
what does nano mean?
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Abigail
for teaching engĺish at school how nano technology help us
Anassong
Do somebody tell me a best nano engineering book for beginners?
there is no specific books for beginners but there is book called principle of nanotechnology
NANO
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
NANO
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
A fair die is tossed 180 times. Find the probability P that the face 6 will appear between 29 and 32 times inclusive