Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5201/ipol.2017.178
22 December 2020, 23:18:20 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • ce7312fc5141c3085e2c9a49d0904825df754c37
    No releases to show
  • 3523adc
  • /
  • prsamp_2.0
  • /
  • useful files
  • /
  • loadfile_calib.m
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:82a1e8cdf1f797e840d5a6b5fd41262a2d089adf
origin badgedirectory badge
swh:1:dir:2023e493af50545a251017368b5cf8db432e5e85
origin badgerevision badge
swh:1:rev:ce7312fc5141c3085e2c9a49d0904825df754c37
origin badgesnapshot badge
swh:1:snp:1bcebdaaca2cc8f37f6e3f6dc85e624d16b3839b

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: ce7312fc5141c3085e2c9a49d0904825df754c37 authored by Software Heritage on 25 May 2016, 00:00:00 UTC
ipol: Deposit 1296 in collection ipol
Tip revision: ce7312f
loadfile_calib.m
%% loadfile_calib
% Loads output<filesuffix>.txt file which is the output of ./prSAMP_Calibration in Unix or
% prSAMP_Calib.exe in Windows.

%%
function H_hat = loadfile_calib(filesuffix, m, n)

H_hat = zeros(m,n);


fileID = fopen(['output' num2str(filesuffix) '.txt'],'r');
temp = fscanf(fileID,'%lf');
fclose(fileID);

cnt = 1;
for i=1:m
    for j=1:n
        H_hat(i,j) = temp(cnt)+temp(cnt+1)*1i;
        cnt = cnt + 2;
    end
end
    
    

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API