<< Chapter < Page Chapter >> Page >

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);
Got questions? Get instant answers now!

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),:);
Got questions? Get instant answers now!

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);
Got questions? Get instant answers now!

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));
Got questions? Get instant answers now!

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]';
Got questions? Get instant answers now!

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;
Got questions? Get instant answers now!

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
Got questions? Get instant answers now!

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));
Got questions? Get instant answers now!

Questions & Answers

where we get a research paper on Nano chemistry....?
Maira Reply
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
Maira Reply
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
Google
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
Hafiz Reply
revolt
da
Application of nanotechnology in medicine
what is variations in raman spectra for nanomaterials
Jyoti Reply
ya I also want to know the raman spectra
Bhagvanji
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
LITNING Reply
what is a peer
LITNING Reply
What is meant by 'nano scale'?
LITNING Reply
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
Damian Reply
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
Stoney Reply
why we need to study biomolecules, molecular biology in nanotechnology?
Adin Reply
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
Adin
why?
Adin
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
A fair die is tossed 180 times. Find the probability P that the face 6 will appear between 29 and 32 times inclusive
Samson Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Applied probability. OpenStax CNX. Aug 31, 2009 Download for free at http://cnx.org/content/col10708/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Applied probability' conversation and receive update notifications?

Ask