\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{JairoG (PoleG)} \pdfinfo{ /Title (matlab-ule.pdf) /Creator (Cheatography) /Author (JairoG (PoleG)) /Subject (Matlab\_ULE Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{071BA3} \definecolor{LightBackground}{HTML}{F7F7FC} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Matlab\_ULE Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{JairoG (PoleG)} via \textcolor{DarkBackground}{\uline{cheatography.com/132033/cs/40370/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}JairoG (PoleG) \\ \uline{cheatography.com/poleg} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 4th October, 2023.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{2.4 cm} x{5.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Aproximaciones}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{ceil(x)}} & Redondea hacia ∞ \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{fix(x)}} & Redondea hacia 0 \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{floor(x)}} & Redondea hacia -∞ \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{round(x)}} & Redondea al entero más prox \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.24 cm} x{5.76 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Op Matrices}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{A + B}} & Suma \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{A - B}} & Resta \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{A * B}} & Multiplicación \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} {\bf{A / B}} & División D \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} {\bf{A \textbackslash{} B}} & División I \tn % Row Count 5 (+ 1) % Row 5 \SetRowColor{white} {\bf{A \textasciicircum{} n}} & Potencia {\bf{n}} \tn % Row Count 6 (+ 1) % Row 6 \SetRowColor{LightBackground} {\bf{A .\textasciicircum{} B}} & Potencia elem A elem \tn % Row Count 7 (+ 1) % Row 7 \SetRowColor{white} {\bf{A'}} & Transposición compl. conj \tn % Row Count 8 (+ 1) % Row 8 \SetRowColor{LightBackground} {\bf{A .'}} & Transposición \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.08 cm} x{5.92 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Análisis de Matrices}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{cond}}(A) & Num condición \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{det}}(A) & Determinante \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{diag}}(v) & Matriz diagonal v en diag \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{diag}}(A) & Extrae diagonal como vector col \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{eig}}(A) & Valores propios \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} {\bf{inv}}(A) & Matriz inversa \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} {\bf{lenght}}(A) & Máx dimensión \tn % Row Count 11 (+ 2) % Row 7 \SetRowColor{white} {\bf{norm}}(A) & Norma \tn % Row Count 13 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{norm}}(A,n) & Norma-n \tn % Row Count 15 (+ 2) % Row 9 \SetRowColor{white} {\bf{normest}}(A) & Estimación de norma-2 \tn % Row Count 17 (+ 2) % Row 10 \SetRowColor{LightBackground} {\bf{null}}(A) & Espacio nulo \tn % Row Count 19 (+ 2) % Row 11 \SetRowColor{white} {\bf{orth}}(A) & Ortogonalización \tn % Row Count 21 (+ 2) % Row 12 \SetRowColor{LightBackground} {\bf{rank}}(A) & Rango \tn % Row Count 23 (+ 2) % Row 13 \SetRowColor{white} {\bf{rref}}(A) & Reducción por Gauss \tn % Row Count 25 (+ 2) % Row 14 \SetRowColor{LightBackground} {\bf{size}}(A) & Dimensiones \tn % Row Count 27 (+ 2) % Row 15 \SetRowColor{white} {\bf{trace}}(A) & Traza \tn % Row Count 29 (+ 2) % Row 16 \SetRowColor{LightBackground} {\bf{tril}}(A) & Matriz triangular inferior a partir de la matriz A \tn % Row Count 31 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{2.08 cm} x{5.92 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Análisis de Matrices (cont)}} \tn % Row 17 \SetRowColor{LightBackground} {\bf{triu}}(A) & Matriz triangular superior a partir de la matriz A \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4.24 cm} x{3.76 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Gráficas}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{plot}}(x,y) & Muestra graf de poli {\bf{x, y}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{plot}}(x,y,x,z) & Muestra las 2 graf de poli {\bf{x, y}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{plot3}}(x,y,z) & Muestra graf 3D de poli {\bf{x, y, z}} \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{xlabel}}('text') // {\bf{ylabel}} & Etiqueta de eje X // Y \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{title}}('text') & Título de gráfica \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} {\bf{text}}(x, y, 'text') & Texcto en punto {\bf{x, y}} \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{axix}}({[}xmin xmax ymin ymax{]} ) & Max/Min de ejes \tn % Row Count 14 (+ 2) % Row 7 \SetRowColor{white} {\bf{axix}} equal & Fija escala igual en ejes \tn % Row Count 16 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{hold}} on // off & Fija graf en una ventana // Desfija \tn % Row Count 18 (+ 2) % Row 9 \SetRowColor{white} {\bf{subplot}}(a,b,c), plot (x,y1), title ('seno') & Plot en pos {\bf{c}} de tabla {\bf{a x b}} \tn % Row Count 21 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.64 cm} x{5.36 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Formato}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{format short}} & Coma fija con 4 dígitos después de la coma \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{format long}} & Coma fija con 14 o 15 dígitos después de la coma \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{format short e}} & Coma flotante con 4 dígitos despuésde la coma \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{format long e}} & Coma flotante con 14 o 15 dígitos después de la coma \tn % Row Count 9 (+ 3) % Row 4 \SetRowColor{LightBackground} {\bf{format short g}} & La mejor entre coma fija o flotante con 4 dígitos después de la coma \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} {\bf{format long g}} & La mejor entre coma fija o flotante con 14 o 15 dígitos después de la coma \tn % Row Count 15 (+ 3) % Row 6 \SetRowColor{LightBackground} {\bf{format short eng}} & Notación científica con 4 dígitos después de la coma y un exponente de 3 \tn % Row Count 18 (+ 3) % Row 7 \SetRowColor{white} {\bf{format long eng}} & Notación científica con 16 dígitos después de la coma y un exponente de 3 \tn % Row Count 21 (+ 3) % Row 8 \SetRowColor{LightBackground} {\bf{format bank}} & Coma fija con 2 dígitos después de la coma \tn % Row Count 23 (+ 2) % Row 9 \SetRowColor{white} {\bf{format hex}} & Hexadecimal \tn % Row Count 25 (+ 2) % Row 10 \SetRowColor{LightBackground} {\bf{format rat}} & Aproximación racional \tn % Row Count 27 (+ 2) % Row 11 \SetRowColor{white} {\bf{format +}} & Positivo, negativo o espacio en blanco \tn % Row Count 29 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.76 cm} x{6.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Funciones Trigonométricas}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{sin}}(x) & Seno (radianes) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{sind}}(x) & Seno (grados) \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{sinh}}(x) & Seno hiperbólico en radianes \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{asin}}(x) & arco seno (radianes) {\bf{(Se pueden añadir 'd' o 'h' al final)}} \tn % Row Count 9 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.4 cm} x{5.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Otros}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{abs}} (x) & Valor absoluto o magnitud de un número complejo \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{sign}} (x) & Signo del argumento x \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{exp}} (x) & Exponencial \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} {\bf{ged}} (m,n) & Máximo común divisor \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{lem}} (m,n) & Mínimo común múltiplo \tn % Row Count 8 (+ 2) % Row 5 \SetRowColor{white} {\bf{log}} (x) & Logaritmo neperiano \tn % Row Count 9 (+ 1) % Row 6 \SetRowColor{LightBackground} {\bf{log10}} (x) & Logaritmo en base 10 \tn % Row Count 11 (+ 2) % Row 7 \SetRowColor{white} {\bf{mod}} (x,y) & Módulo después de la división \tn % Row Count 13 (+ 2) % Row 8 \SetRowColor{LightBackground} {\bf{rem}} (x,y) & Resto de la división entera \tn % Row Count 15 (+ 2) % Row 9 \SetRowColor{white} {\bf{sqrt}} (x) & Raíz cuadrada \tn % Row Count 16 (+ 1) % Row 10 \SetRowColor{LightBackground} {\bf{nthroot}} (x,n) & Raíz n-ésima de x \tn % Row Count 18 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.96 cm} x{5.04 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Vectores}} \tn % Row 0 \SetRowColor{LightBackground} x={\bf{{[}a b ... n{]}}} & Vector de n elementos {\bf{Op1}} (n empieza en 1) \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} x={\bf{{[}a,b, ... ,n{]}}} & Vector de n elementos {\bf{Op2}} (n empieza en 1) \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} x={\bf{{[}a b, ... n{]}}} & Vector de n elementos {\bf{Op3}} (n empieza en 1) \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} x{\bf{(n)}} & Elem. Pos. {\bf{n}} del vector (n empieza en 1) \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} x{\bf{(end)}} & Ultimo elem. de vector \tn % Row Count 9 (+ 1) % Row 5 \SetRowColor{white} x{\bf{(a:b)}} & Desde pos {\bf{a}} hasta {\bf{b}} de vector \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} x{\bf{(a:b:c)}} & Desde pos {\bf{a}} hasta {\bf{c}} de vector incr. {\bf{b}} \tn % Row Count 13 (+ 2) % Row 7 \SetRowColor{white} x{\bf{({[}a b c ... n{]})}} & List. Pos. {\bf{a, b, .. n}} \tn % Row Count 15 (+ 2) % Row 8 \SetRowColor{LightBackground} A={\bf{{[}a b c; d c e{]}}} & Matriz de 3x3 \tn % Row Count 17 (+ 2) % Row 9 \SetRowColor{white} A{\bf{(n,m)}} & Elem. Pos. {\bf{fila, col}} del vector \tn % Row Count 19 (+ 2) % Row 10 \SetRowColor{LightBackground} A{\bf{(n,:)}} & Toda la fila {\bf{n}} \tn % Row Count 20 (+ 1) % Row 11 \SetRowColor{white} A{\bf{(:,m)}} & Toda la colum {\bf{m}} \tn % Row Count 21 (+ 1) % Row 12 \SetRowColor{LightBackground} A{\bf{(n, {[}m1 m2 ...{]})}} & Fila {\bf{n}}, colum {\bf{m1, m2...}} \tn % Row Count 23 (+ 2) % Row 13 \SetRowColor{white} A{\bf{({[}n1 n2{]},m1:mn)}} & Filas {\bf{ n1, n2 ...}}, colum {\bf{de m1 a mn}} \tn % Row Count 25 (+ 2) % Row 14 \SetRowColor{LightBackground} A{\bf{(end, {[}m1 m2 ...{]})}} & Ult. fila de col {\bf{m1 y m2}} \tn % Row Count 27 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.56 cm} x{5.44 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Vectores Abrev}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{(a:b)}} & Vector emp {\bf{a}} aca {\bf{b}} de 1 en 1 \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{(a:c:b)}} & Vector emp {\bf{a}} aca {\bf{b}} de {\bf{c}} en {\bf{c}} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} linspace{\bf{(a,b)}} & Vector linealmente espaciado {\bf{a-b}} 100 elem \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} linspace{\bf{(a,b,c)}} & Vector linealmente espaciado {\bf{a-b}} {\bf{c}} elem \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} logspace{\bf{(a,b)}} & Vector log espaciado {\bf{10\textasciicircum{}a}} - {\bf{b}} 100 elem \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} logspace{\bf{(a,b,c)}} & Vector log espaciado {\bf{10\textasciicircum{}a}} - {\bf{b}} {\bf{c}} elem \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.2 cm} x{4.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Matrices Abrev}} \tn % Row 0 \SetRowColor{LightBackground} zeros{\bf{(n)}} & Cuadrada nxn ceros \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} ones{\bf{(n)}} & Cuadrada nxn unos \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} rand{\bf{(n)}} & Cuadrada nxn aleat \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} eye{\bf{(n)}} & Cuadrada nxn ident \tn % Row Count 4 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Todas pueden hacerse {\bf{(n,m)}} para matrices no cuadradas} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.48 cm} x{5.52 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Operadores}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{xor}}(x,y) & 0 si ambas son {\bf{false}} o {\bf{true}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{any}}(x) & 1 si {\bf{algun}} elem/vector {\bf{x}} no nulo; 0 si {\bf{todos}} nulos \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} {\bf{all}}(x) & 1 si {\bf{todos}} elem/vector {\bf{x}} no nulo; 0 si {\bf{algun}} nulos \tn % Row Count 8 (+ 3) % Row 3 \SetRowColor{white} {\bf{exist}}({\bf{'x'}}) & 1 si existe {\bf{'x'}} \tn % Row Count 10 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{isnan}}(x) & 1 en en magnitud {\bf{x}} es {\bf{NaN}} \tn % Row Count 12 (+ 2) % Row 5 \SetRowColor{white} {\bf{isinf}}(x) & 1 en en magnitud {\bf{x}} es {\bf{∞}} \tn % Row Count 14 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{isfinite}}(x) & 1 en en magnitud {\bf{x}} es {\bf{finito}} \tn % Row Count 16 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Análisis de datos}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{corrcoef}}(X) & Coeficientes de correlación \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{cov}}(X) & Matiz de covarianzas \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} {\bf{cumprod}}(X) & Prod. Acumul de colum \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} {\bf{cumsum}}(X) & Sum. Acumul de colum \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{diff}}(X) & Diferencias entre elem. adyacentes \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} {\bf{hist}}(X) & Histograma / diagrama de barras \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{iqr}}(X) & Rango intercuartílico de muestra \tn % Row Count 13 (+ 2) % Row 7 \SetRowColor{white} {\bf{max}}(X) & Máx de cada colum \tn % Row Count 14 (+ 1) % Row 8 \SetRowColor{LightBackground} {\bf{min}}(X) & Min de cada colum \tn % Row Count 15 (+ 1) % Row 9 \SetRowColor{white} {\bf{prod}}(X) & Producto de cada colum \tn % Row Count 16 (+ 1) % Row 10 \SetRowColor{LightBackground} {\bf{range}}(X) & Rango de cada colum \tn % Row Count 18 (+ 2) % Row 11 \SetRowColor{white} {\bf{sum}}(X) & Suma de cada colum \tn % Row Count 19 (+ 1) % Row 12 \SetRowColor{LightBackground} {\bf{mean}}(X) & Media de valores de vector y colum \tn % Row Count 21 (+ 2) % Row 13 \SetRowColor{white} {\bf{median}}(X) & Mediana de valores de vector y colum \tn % Row Count 23 (+ 2) % Row 14 \SetRowColor{LightBackground} {\bf{rand}}(X) & Num aleat distrib uniformemente \tn % Row Count 25 (+ 2) % Row 15 \SetRowColor{white} {\bf{randn}}(X) & Num aleat distrib normalemtne \tn % Row Count 27 (+ 2) % Row 16 \SetRowColor{LightBackground} {\bf{sort}}(X) & Ordena colum asc \tn % Row Count 28 (+ 1) % Row 17 \SetRowColor{white} {\bf{std}}(X) & Desviación estándar muestra \tn % Row Count 30 (+ 2) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Análisis de datos (cont)}} \tn % Row 18 \SetRowColor{LightBackground} {\bf{tabulate}}(X) & Tablla de frec del vector \tn % Row Count 2 (+ 2) % Row 19 \SetRowColor{white} {\bf{var}}(X) & Varianza de la muestra \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{1.76 cm} x{6.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{General}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{disp}}(x) & Muestra la variable x \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{who}} & Muestra las variables del entorno \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{clear}} x & Elimina la variable x \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} {\bf{clear}} & Elimina todas las variables \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{clc}} & Limpia la pantalla \tn % Row Count 9 (+ 1) % Row 5 \SetRowColor{white} {\bf{eps}} & Número más pequeño, tal que cuando se le suma a 1, crea un número en coma flotante mayor que 1 \tn % Row Count 13 (+ 4) % Row 6 \SetRowColor{LightBackground} {\bf{inf}} & Infinito \tn % Row Count 14 (+ 1) % Row 7 \SetRowColor{white} {\bf{nan}} & Magnitud no númerica \tn % Row Count 15 (+ 1) % Row 8 \SetRowColor{LightBackground} {\bf{realmin}} & Número real más pequeño utilizable \tn % Row Count 17 (+ 2) % Row 9 \SetRowColor{white} {\bf{realmax}} & Número real más grande utilizable \tn % Row Count 19 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Operadores Lógicos}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{xor}} (x,y) & Devuelve 0 si ambas son verdadaderas o ambas falsas \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} {\bf{any}} (x) & Devuelve 0 si todos los elementos del vector x son nulos \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} {\bf{all}}(x) & Devuelve 1 si todos los elementos del vector x son no nulos \tn % Row Count 7 (+ 3) % Row 3 \SetRowColor{white} {\bf{exist}} ('x') & Devuelve 1 si existe y 0 si no existe \tn % Row Count 9 (+ 2) % Row 4 \SetRowColor{LightBackground} {\bf{isfinite}} (x) & Devuelve unos en valores finitos del vector x \tn % Row Count 11 (+ 2) % Row 5 \SetRowColor{white} {\bf{isinf}} (x) & Devuelve unos en valores infinitos del vector x \tn % Row Count 13 (+ 2) % Row 6 \SetRowColor{LightBackground} {\bf{isnan}} (x) & Devuelve unos en magnitudes no numéricas del vector x \tn % Row Count 15 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}