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

 Page 2 / 24

distinct.m function y = distinct(T) determines and sorts the distinct members of matrix T .

function y = distinct(T) % DISTINCT y = distinct(T) Disinct* members of T% Version of 5/7/96 Rev 4/20/97 for version 4&5.1, 5.2 % Determines distinct members of matrix T.% Members which differ by no more than 10^{-13} % are considered identical. y is a row% vector of the distinct members. TS = sort(T(:)');n = length(TS); d = [1 abs(TS(2:n) - TS(1:n-1))>1e-13];y = TS(find(d));

freq.m sorts the distinct members of a matrix, counts the number of occurrences of each value, and calculates the cumulative relativefrequencies.

% FREQ file freq.m Frequencies of members of matrix % Version of 5/7/96% Sorts the distinct members of a matrix, counts % the number of occurrences of each value, and% calculates the cumulative relative frequencies. T = input('Enter matrix to be counted ');[m,n] = size(T);[t,f] = csort(T,ones(m,n));p = cumsum(f)/(m*n); disp(['The number of entries is ',num2str(m*n),]) disp(['The number of distinct entries is ',num2str(length(t)),]) disp(' ')dis = [t;f;p]';disp(' Values Count Cum Frac') disp(dis)

dsum.m function y = dsum(v,w) determines and sorts the distinct elements among the sums of pairs of elements of row vectors v and w .

function y = dsum(v,w) % DSUM y = dsum(v,w) Distinct pair sums of elements% Version of 5/15/97 % y is a row vector of distinct% values among pair sums of elements % of matrices v, w.% Uses m-function distinct [a,b]= meshgrid(v,w); t = a+b;y = distinct(t(:)');

rep.m function y = rep(A,m,n) replicates matrix A , m times vertically and n times horizontally. Essentially the same as the function repmat in MATLAB version 5, released December, 1996.

function y = rep(A,m,n) % REP y = rep(A,m,n) Replicates matrix A% Version of 4/21/96 % Replicates A,% m times vertically, % n times horizontally% Essentially the same as repmat in version 5.1, 5.2 [r,c]= size(A); R = [1:r]'; C = [1:c]'; v = R(:,ones(1,m));w = C(:,ones(1,n)); y = A(v,w);

elrep.m function y = elrep(A,m,n) replicates each element of A , m times vertically and n times horizontally.

function y = elrep(A,m,n) % ELREP y = elrep(A,m,n) Replicates elements of A% Version of 4/21/96 % Replicates each element,% m times vertically, % n times horizontally[r,c] = size(A);R = 1:r; C = 1:c;v = R(ones(1,m),:); w = C(ones(1,n),:);y = A(v,w);

kronf.m function y = kronf(A,B) determines the Kronecker product of matrices $\mathbf{A},\phantom{\rule{0.277778em}{0ex}}\mathbf{B}$ . Achieves the same result for full matrices as the MATLAB function kron .

function y = kronf(A,B) % KRONF y = kronf(A,B) Kronecker product% Version of 4/21/96 % Calculates Kronecker product of full matrices.% Uses m-functions elrep and rep % Same result for full matrices as kron for version 5.1, 5.2[r,c] = size(B);[m,n] = size(A);y = elrep(A,r,c).*rep(B,m,n);

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

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

#### Questions & Answers

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
characteristics of micro business
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