diff options
| author | drowe67 <[email protected]> | 2023-07-07 14:22:31 +0930 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2023-07-07 14:22:31 +0930 |
| commit | a291cfaf4ca3bb359852336f796aa5cc64568826 (patch) | |
| tree | 5d765b89334fb422e1b6b83a0ce5d1e75098c15e /octave/save_array_c_header.m | |
| parent | 87025ac7d2a23192bf124ce8684626f821b099ea (diff) | |
some more Octave files rm-ed
Diffstat (limited to 'octave/save_array_c_header.m')
| -rw-r--r-- | octave/save_array_c_header.m | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/octave/save_array_c_header.m b/octave/save_array_c_header.m deleted file mode 100644 index 1fd87bb..0000000 --- a/octave/save_array_c_header.m +++ /dev/null @@ -1,14 +0,0 @@ -% save_array_c_header.m -% -% David Rowe Sep 2015 - -function save_array_c_header(array, array_name, filename) - f=fopen(filename,"wt"); - fprintf(f,"/* Generated by save_array_c_header.m Octave function */\n\n"); - fprintf(f,"const float %s[]={\n", array_name); - for m=1:length(array)-1 - fprintf(f," % .16f,\n",array(m)); - endfor - fprintf(f," % .16f\n};\n",array(length(array))); - fclose(f); -endfunction |
