path to CML librray more sensible for others to use
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 19 Apr 2018 06:18:30 +0000 (06:18 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 19 Apr 2018 06:18:30 +0000 (06:18 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3504 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/octave/ldpc_qpsk.m
codec2-dev/octave/ldpc_short.m
codec2-dev/octave/ofdm_dev.m
codec2-dev/octave/ofdm_ldpc_rx.m
codec2-dev/octave/ofdm_ldpc_tx.m
codec2-dev/octave/ofdm_lib.m

index 4124b4527986c60c281cf71003b362ed95404c79..511a83316c5da7e646235274dabf0caf56ca5091 100644 (file)
@@ -449,7 +449,7 @@ end
 more off;
 format;
 
-init_cml('/home/david/Desktop/cml/');
+init_cml('~/cml/');
 
 %run_single(Nbits=700*5, EbNo=6, hf_en=1, ldpc_code=3, framesize=576*4, 1)
 plot_curves(700*60);
index 38f45450670aa0db33ac92e3f521234f9a9a0d4f..f58197eb312d4541259ac3a4896eb819ca8aa78b 100644 (file)
@@ -532,7 +532,7 @@ endfunction
 \r
 % change this path for your CML installation\r
 \r
-init_cml('/home/david/Desktop/cml');\r
+init_cml('~/cml');\r
 \r
 more off;\r
 format;\r
index a5a6e4e5692cf0d238e54a09d500f841d5710e44..109b0a7af35f9ec4385a2773204d46984c1cd025 100644 (file)
@@ -1082,7 +1082,7 @@ endfunction
 format;
 more off;
 
-%init_cml('/home/david/Desktop/cml/');
+init_cml('~/cml/');
 
 %run_single 
 %run_curves
index 1e4a4745f9f7939cb19ff7aa71492fef91b33b5c..19178d63790cdf4970ea45a112637e6e8b6b5343 100644 (file)
@@ -32,7 +32,7 @@ function ofdm_ldpc_rx(filename, interleave_frames = 1, error_pattern_filename)
   EsNo = 10; % TODO: fixme
   printf("EsNo fixed at %f - need to est from channel\n", EsNo);
   
-  init_cml('/home/david/Desktop/cml/');
+  init_cml('~/cml/');
   load HRA_112_112.txt
   [code_param framesize rate] = ldpc_init_user(HRA_112_112, modulation, mod_order, mapping);
   assert(Nbitsperframe == (code_param.code_bits_per_frame + states.Nuwbits + states.Ntxtbits));
index 32b6a8bde17bbf27abdb303ce73c16a576e7feb8..9790940c55e8e17db2462a11de25f88a05d8d832 100644 (file)
@@ -47,7 +47,7 @@ function ofdm_ldpc_tx(filename, interleave_frames = 1, Nsec, EbNodB=100, channel
 
   mod_order = 4; bps = 2; modulation = 'QPSK'; mapping = 'gray';
 
-  init_cml('/home/david/Desktop/cml/');
+  init_cml('~/cml/');
   load HRA_112_112.txt
   [code_param framesize rate] = ldpc_init_user(HRA_112_112, modulation, mod_order, mapping);
   assert(Nbitsperframe == (code_param.code_bits_per_frame + Nuwbits + Ntxtbits));
index e7b56f1298fcaa351a35cd48716a3b19e39f962a..e975ef413761580a58137736c58b91ad38dbf295 100644 (file)
@@ -528,7 +528,7 @@ function [tx_bits payload_data_bits codeword] = create_ldpc_test_frame
 
   mod_order = 4; bps = 2; modulation = 'QPSK'; mapping = 'gray';
 
-  init_cml('/home/david/Desktop/cml/'); % TODO: make this path sensible and portable
+  init_cml('~/cml/'); % TODO: make this path sensible and portable
   load HRA_112_112.txt
   [code_param framesize rate] = ldpc_init_user(HRA_112_112, modulation, mod_order, mapping);
   assert(Nbitsperframe == (code_param.code_bits_per_frame + Nuwbits + Ntxtbits));