Welcome

Anti Essays offers essay examples to help students with their essay writing.

Sign Up

Colours Essay

  • Submitted by: gamidianusha
  • on February 22, 2011
  • Category: Psychology
  • Length: 325 words

Open Document

Below is an essay on "Colours" from Anti Essays, your source for research papers, essays, and term paper examples.

Every   row is separated by ;
>>1;2;100     result is 1 3 5 99….
When we use transaction   single bracket is used.
When we give some data,we use double braket.
Linspace(a,b,n)   a is starting,b is ending,n is the number of elements we generate..
A=[2 7 4] …………gives a row matrix.
B=[2;7;4]……………gives a column matrix.
Generating a matrix full of zeroes,……command is zeros(n,m)
                    a matrix full of ones……………………….ones(n,m)
                      an identity matrix…………………….eye(n,m);rand(n,m)……………..gives a random matrix.
  + add
_ subtract
^ power
.^ power element bt element..
/ normal division
\ reverse division
B=a’ gives the transpose of the matrix
Any doubt…..go to command prompt,and type help space command……this gives everything about that
[1:3:10]……………..gives (1 4 7 10)
Inv(matrix name)…inverse of amatrix.
W=lognt of the matrix v4th elemespace(1,4,4)   …………….gives(10 100 1000 10000)
V=linspace(0,1,4)………..gives..(0 1/3 2/3 1)
V(4) displays the   4th element of the vector v
W(4)=66………..replaces 4th element of vector w with 66
Variable name=a:increment:b
Linspace….first ele,last ele,number of elements
MIT>>   c1=Linspace(0,2*pi,100);
Elementary functions…..
              Sqrt(10)
              Abs(-1)
M(5,4) gives 5th row,4th column element.
B=a(:,2) gives the entire second column of matrix a.
B=a(1,:) gives the entire first row of the matrix a.
./ array division
>> why………in case u ever needed a reason.
X3+2x-7 is written as >>pol1=[1 0 2 7]
>>roots_data=roots(pol1)…………..to get roots of the polynomial..
Value of a polynomial at a given point xis   MIT>>y=polyval(p,x)
conv(p,q)…..multiplication…
deconv(p,q)….division.
plot(y)……..gives plot of function of y

Show More


Citations

MLA Citation

"Colours". Anti Essays. 11 Dec. 2018

<http://cassandralynndesignllc.com/free-essays/Colours-73759.html>

APA Citation

Colours. Anti Essays. Retrieved December 11, 2018, from the World Wide Web: http://cassandralynndesignllc.com/free-essays/Colours-73759.html