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

 Page 3 / 24

colcopyi.m function y = colcopyi(v,n) treats row or column vector v as a column vector, reverses the order of the elements, and makes a matrix with n columns of the reversed vector.

function y = colcopyi(v,n) % COLCOPYI y = colcopyi(v,n) n columns in reverse order% Version of 8/22/96 % v a row or column vector.% Treats v as column vector, % reverses the order of the% elements, and makes n copies. % Procedure based on "Tony's trick"N = ones(1,n); [r,c]= size(v); if r == 1v = v(c:-1:1)'; elsev = v(r:-1:1); endy = v(:,N);

rowcopy.m function y = rowcopy(v,n) treats row or column vector v as a row vector and makes a matrix with n rows of v .

function y = rowcopy(v,n) % ROWCOPY y = rowcopy(v,n) n rows of v% Version of 5/7/96 % v a row or column vector% Treats v as row vector % and makes n copies% Procedure based on "Tony's trick" [r,c]= size(v); if c == 1v = v'; endy = v(ones(1,n),:);

repseq.m function y = repseq(V,n) replicates vector V n times—horizontally if V is a row vector and vertically if V is a column vector.

function y = repseq(V,n); % REPSEQ y = repseq(V,n) Replicates vector V n times% Version of 3/27/97 % n replications of vector V% Horizontally if V a row vector % Vertically if V a column vectorm = length(V); s = rem(0:n*m-1,m)+1;y = V(s);

total.m Total of all elements in a matrix, calculated by: total(x) = sum(sum(x)) .

function y = total(x) % TOTAL y = total(x)% Version of 8/1/93 % Total of all elements in matrix x.y = sum(sum(x));

dispv.m Matrices $A,B$ are transposed and displayed side by side.

function y = dispv(A,B) % DISPV y = dispv(A,B) Transpose of A, B side by side% Version of 5/3/96 % A, B are matrices of the same size% They are transposed and displayed % side by side.y = [A;B]';

roundn.m function y = roundn(A,n) rounds matrix A to n decimal places.

function y = roundn(A,n); % ROUNDN y = roundn(A,n)% Version of 7/28/97 % Rounds matrix A to n decimalsy = round(A*10^n)/10^n;

arrep.m function y = arrep(n,k) forms all arrangements, with repetition, of k elements from the sequence $1:n$ .

function y = arrep(n,k); % ARREP y = arrep(n,k);% Version of 7/28/97 % Computes all arrangements of k elements of 1:n,% with repetition allowed. k may be greater than n. % If only one input argument n, then k = n.% To get arrangements of column vector V, use % V(arrep(length(V),k)).N = 1:n; if nargin == 1k = n; endy = zeros(k,n^k); for i = 1:ky(i,:) = rep(elrep(N,1,n^(k-i)),1,n^(i-1)); end

## Minterm vectors and probabilities

The analysis of logical combinations of events (as sets) is systematized by the use of the minterm expansion. This leads naturally to the notion of minterm vectors. These arezero-one vectors which can be combined by logical operations. Production of the basic minterm patterns is essential to a number of operations. The following m-programs arekey elements of various other programs.

minterm.m function y = minterm(n,k) generates the k th minterm vector in a class of n .

function y = minterm(n,k) % MINTERM y = minterm(n,k) kth minterm of class of n% Version of 5/5/96 % Generates the kth minterm vector in a class of n% Uses m-function rep y = rep([zeros(1,2^(n-k)) ones(1,2^(n-k))],1,2^(k-1));

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
what's the easiest and fastest way to the synthesize AgNP?
China
Cied
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