git-svn-id: http://moon:8086/svn/projects/HendiControl@247 fda53097-d464-4ada-af97-ba876c37ca34
34 lines
1.0 KiB
Objective-C
34 lines
1.0 KiB
Objective-C
## Copyright (C) 2019 Jens
|
|
##
|
|
## This program is free software: you can redistribute it and/or modify it
|
|
## under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation, either version 3 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## This program is distributed in the hope that it will be useful, but
|
|
## WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program. If not, see
|
|
## <https://www.gnu.org/licenses/>.
|
|
|
|
## -*- texinfo -*-
|
|
## @deftypefn {} {@var{retval} =} results_sprung (@var{input1}, @var{input2})
|
|
##
|
|
## @seealso{}
|
|
## @end deftypefn
|
|
|
|
## Author: Jens <jens@orion>
|
|
## Created: 2019-04-16
|
|
|
|
function results_sprung (filename)
|
|
x = load(filename);
|
|
Npad = 600;
|
|
t = [-(Npad-1:-1:0)/60 x(:,1)'];
|
|
v1 = [repmat(x(1,2), 1, Npad) x(:,2)'];
|
|
plot (t, v1); grid
|
|
|
|
endfunction
|