Modelo de sereis de tiempo de disperción de una enfermedad basado en la conferencia de @juanitorduz : Gaussian Processes for Time Series Forecasting https://www.youtube.com/watch?v=n42uQjhoS9g
This file contains hidden or 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
// Read Serial (RS232) data from Weight Controller Device via RS232 to TTL Converter Module | |
// Ignore the include statement, the editor does not allow pasting certain characters | |
//include SoftwareSerial.h | |
#include <SD.h> | |
char buf[20]; | |
int RX_PIN = 19; |
This file contains hidden or 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
clear, clc | |
% Track propeties | |
color=[1,0,0]; % RGB color | |
% easy | |
% vector of length of each segment | |
L=[0.7, 1, 0.5, 0.7, 0.5, 1, 0.3, 1]; | |
%vector of relative angle | |
angle= pi/180*cumsum([-90,0,0,0,0,0,0]); |
This file contains hidden or 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
clear, clc, close all | |
img=imread("mapaUnal.png"); | |
n=9 | |
edificios=1:n; | |
conexion= triu(rand(n)); | |
G = graph(conexion,'upper') |
This file contains hidden or 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
# welcome to python | |
# bienvienido a python | |
import sys | |
import time | |
def escribir(text): | |
for letra in text: | |
time.sleep(0.1) | |
sys.stdout.write(letra) |
This file contains hidden or 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
% sistema resorte unidimensional | |
n=4; % numero de nodos | |
M=zeros(n,n); % Matriz de rigidez | |
% conetividades entre Nodo A y Nodo B | |
NodosA= 1:3; % vector nodos de partida de conectividad | |
NodosB= 2:4; % vector nodos de llegada de conectividad | |
ki= [100*10^6, 200*10^6 ,300*10^6]; |
This file contains hidden or 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
%% Parametros | |
clear, clc | |
% a: coeficientes del polinomio [a_n, a_{n-1}, ... , a_1, a_0] | |
a=[1, 1, 1, 2,0,0]; | |
a=[1, -3.5, 2.75, 2.125, -3.875, 1.25] | |
r=1; % valor inicial r | |
s=2; % valor inicial s |
This file contains hidden or 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
% Todas las lineas que empiezan con el simbolo porcentaje son comentarios y | |
% no influyen en el programa | |
%--- Introdución a Matlab --- | |
%% limpieza de espacio de trabajo | |
close('all'), clear, clc | |
%% 1. Variables y tipos de datos |
This file contains hidden or 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
;-------------------------------------------------------------------------------- | |
;----------------------------- PROGRMA DE RELOJ --------------------------------- | |
; ---------------------------COMPUTACION GRAFICA -------------------------------- | |
; Nota: entrega archivo lsp y documento con portada | |
* descripcion del trabajo | |
* descripcion matematica utilizada dentro del programa | |
* copia del codigo del programa documentado. | |
* metodo de como cargar el programa. |
This file contains hidden or 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
clc | |
clear | |
function integral=integral(a,b,n) | |
x=linspace(-1,1,n); | |
h=x(2)-x(1); | |
f=e.^(-x.^2/2)/sqrt(2*pi); | |
f; | |
f_sig=f; |