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 varargout = spectrogram (varargin) | |
% Matlab: [S,F,T]=spectrogram(x,window,noverlap,nfft,fs) | |
% Octave: [S [, f [, t]]] = specgram(x [, n [, Fs [, window [, overlap]]]]) | |
if nargin == 5 | |
[varargout{1:nargout}] = specgram (varargin{1},varargin{4},varargin{5},varargin{2},varargin{3}); | |
elseif nargin == 4 | |
[varargout{1:nargout}] = specgram (varargin{1},varargin{4},[],varargin{2},varargin{3}); | |
elseif nargin == 3 |
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
## Set MacVim as default Octave editor (http://wiki.octave.org/Vim) | |
edit mode sync | |
edit home . | |
EDITOR('/Applications/MacVim.app/Contents/MacOS/Vim -p -g > /dev/tty 2>&1 < /dev/tty %s') | |
## The following allows plotting to work within iTerm.app | |
setenv GNUTERM qt |
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
## The following allows plotting to work within iTerm.app | |
setenv GNUTERM qt |
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
#!/bin/bash | |
echo | |
echo "This script sets the pantheon terminal to the Solarized theme." | |
echo | |
until [[ $scheme -eq 1 ]] || [[ $scheme -eq 2 ]] || [[ $scheme -eq 3 ]]; do | |
echo "Choose one:" | |
echo "1) Light" | |
echo "2) Dark" |