CATEGORII DOCUMENTE |
Help on-line, formatul datelor, optiuni de salvare
Help on-line
Pentru rularea MATLAB pe un
PC trebuie pur si simplu executat un dublu click cu mouse-ul
pe icon-ul MATLAB. Daca sistemul de operare nu este de tip Windows (este
de tip UNIX) trebuie tastat matlab
dupa prompter-ul sistemului de operare.
Limbajul MATLAB este mult
mai simplu de invatat daca se renunta la inspectarea
arida a listelor cu variabile, functii si operatori si se
utilizeaza in schimb comenzile help, helpdesk, demo
tastate direct de la prompterul MATLAB.
Pentru aflarea tuturor informatiilor
utile despre o comanda sau o functie se tasteaza help urmat de numele comenzii sau functiei
respective.
Pachetul MATLAB dispune de
asemenea de informatii complete despre utilizare sub forma unei
documentatii tip .pdf.
In cazuri particulare se poate apela la
INTERNET, existand o legatura la pagina Web a firmei
producatoare.
Alte comenzi utile pentru aflarea de informatii sunt: helpwin, lookfor, help help.
Exemple sugestive de utilizare a comenzii help:
help sin
SIN Sine.
SIN(X) is the sine of the elements of X.
Overloaded methods
help sym/sin.m
help exp
EXP Exponential.
EXP(X) is the exponential of the elements of X, e
to the X.
For complex Z=X+i*Y, EXP(Z) =
EXP(X)*(COS(Y)+i*SIN(Y)).
See also LOG, LOG10, EXPM, EXPINT.
Overloaded methods
help sym/exp.m
help demtseries/exp.m
help plot
PLOT Linear plot.
PLOT(X,Y) plots vector Y versus vector X. If X or Y is a matrix, then the vector is plotted versus the rows or columns of the matrix, whichever line up. If X is a scalar and Y is a vector, length(Y) disconnected points are plotted.
PLOT(Y) plots the columns of Y versus their index. If Y is complex, PLOT(Y) is equivalent to PLOT(real(Y),imag(Y)). In all other uses of PLOT, the imaginary part is ignored.
Various line types, plot symbols and colors may be obtained with PLOT(X,Y,S) where S is a character string made from one element from any or all the following 3 colunms:
y yellow . point - solid
m magenta o circle : dotted
c cyan x x-mark -. dashdot
r red + plus -- dashed
g green * star
b blue s square
w white d diamond
k black v triangle (down)
^ triangle (up)
< triangle (left)
> triangle (right)
p pentagram
h hexagram
For example, PLOT(X,Y,'c+:') plots a cyan dotted line with a plus at each data point; PLOT(X,Y,'bd') plots blue diamond at each data point but does not draw any line.
PLOT(X1,Y1,S1,X2,Y2,S2,X3,Y3,S3,) combines the plots defined by the (X,Y,S) triples, where the X's and Y's are vectors or matrices and the S's are strings.
For example, PLOT(X,Y,'y-',X,Y,'go') plots the data twice, with a solid yellow line interpolating green circles at the data points.
The PLOT command, if no color is specified, makes automatic use of the colors specified by the axes ColorOrder property. The default ColorOrder is listed in the table above for color systems where the default is yellow for one line, and for multiple lines, to cycle through the first six colors in the table. For monochrome systems, PLOT cycles over the axes LineStyleOrder property.
PLOT returns a column vector of handles to LINE objects, one handle per line.
The X,Y pairs, or X,Y,S triples, can be followed by parameter/value pairs to specify additional properties of the lines.
See also SEMILOGX, SEMILOGY, LOGLOG, GRID, CLF, CLC, TITLE, XLABEL, YLABEL, AXIS, AXES, HOLD, COLORDEF, LEGEND, and SUBPLOT.
Politica de confidentialitate | Termeni si conditii de utilizare |
Vizualizari: 2412
Importanta:
Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved