This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [K, M] = leerSubs(archivo) | |
% Lee archivo mtx de subestructura exportado de Abaqus mediante | |
% *SUBSTRUCTURE MATRIX OUTPUT, OUTPUT FILE=USER DEFINED, | |
% FILE NAME=substructure, STIFFNESS=YES, MASS=YES | |
% 1) Importar archivo | |
texto = fileread(archivo); % % leer el archivo report de Abaqus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def factorial(n): | |
z=1 | |
if n>1: | |
z=n*factorial(n-1) | |
return z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function modosUnv(numeroModo, f, xi, numNodos, datos, nombreArchivo, opcion) | |
% Escribe un modo en un unv (tipo de dato 55). | |
% Datos: | |
% numeroModo: número del modo | |
% f: frecuencia en Hz | |
% xi: amortiguamiento en tanto por 1 | |
% numNodos: número de nodos del sistema | |
% datos: matriz de 6 columnas Re(x), Im(x), Re(y), Im(y), Re(z), Im(z) | |
% desplazamiento del modo en cada nodo (con el mismo orden de numNodos) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Añadir path | |
(add-to-list 'load-path "directorio") | |
;; Cargar modo Markdown al inicio | |
(autoload 'markdown-mode "markdown-mode" | |
"Major mode for editing Markdown files" t) | |
(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode)) | |
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) | |
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) | |
;; Codificación UTF-8 por defecto | |
(prefer-coding-system 'utf-8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function matlab_matrix = import_matrix3D(mtx_file) | |
% Importa matrices 3D de archivo .mtx de Abaqus | |
% Usa 3*(nodo1-1)+gdl para pasar a gdlGlobal1 gdlGlobal2 valor | |
% Extendido de código en http://www.eng.ox.ac.uk/stress/ | |
% Archivo mtx. Columnas: | |
% 1) Número de nodo fila | |
% 2) Gdl nodo fila (1,2 o 3) | |
% 3) Número de nodo columna |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(add-hook 'haskell-mode-hook 'haskell-indentation-mode) | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(package-archives | |
(quote | |
(("gnu" . "http://elpa.gnu.org/packages/") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Cargar modo git | |
(add-to-list 'load-path "pathDeLosPaquetes") | |
(require 'git) | |
(require 'git-blame) | |
;; Añadir path de git.exe | |
(add-to-list 'exec-path "C:\\Users\\<USUARIO>\\AppData\\Local\\GitHub\\PortableGit_<NÚMEROS>\\bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href=" http://www.isf.es/acceso.php"><img | |
src="https://ondahostil.files.wordpress.com/2015/11/171x122_bannersociotecnologia.gif" | |
alt="171x122_bannersociotecnologia" width="171" height="122" class="alignnone size-full | |
wp-image-1720" /></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
pandoc \ | |
--template=tesis.latex \ | |
--filter pandoc-citeproc \ | |
--chapters *.md metadata.yaml \ | |
-f markdown -o out.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILES = 1ch.md 2ch.md 3References.md | |
all: | |
pandoc -N \ | |
--template=tesis.latex \ | |
--filter pandoc-citeproc \ | |
--chapters $(FILES) metadata.yaml \ | |
-f markdown -o out.pdf | |
clean: |
OlderNewer