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
| function [] = genPlots( t ) | |
| % pass in your table to plot area | |
| % t = opennlm; | |
| close all; | |
| labsize = 50; | |
| ticksize = 30; | |
| tname = inputname(1); | |
| xtrange = [0:100:500]; |
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
| CREATE OR REPLACE FUNCTION heartrate() | |
| RETURNS TABLE(nodeid integer, hrbpm numeric) AS | |
| $BODY$ | |
| DECLARE r record; | |
| BEGIN | |
| FOR r IN SELECT DISTINCT wampum.nodeid FROM wampum ORDER BY nodeid | |
| LOOP | |
| RETURN QUERY SELECT wampum.nodeid, wampum.hrbpm FROM wampum | |
| WHERE wampum.nodeid=r.nodeid ORDER BY id DESC LIMIT 1; | |
| END LOOP; |
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
| #!/usr/bin/env sh | |
| for arg; do | |
| # ptint out folder structure to remove | |
| printf "\n Folder to remove: $arg\n\n" | |
| tree "$arg" | |
| printf "\n[y/n] Remove folder? " | |
| read CONTINUE |
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
| #include "DSP_Config.h" | |
| #include "filter.h" | |
| #define LEFT 0 | |
| #define RIGHT 1 | |
| // used for array length (bound defined) | |
| #define N 4 | |
| #define M 4 |
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
| FILES = $(wildcard *.sp) | |
| OUTPUT = $(FILES:.sp=.lis) | |
| all: $(OUTPUT) | |
| %.lis: %.sp | |
| hspice $< > $@ | |
| clean: | |
| rm -f $(OUTPUT) |
NewerOlder