软件著作权申请中源代码文档的编辑方法

软件著作权申请中源代码文档的编辑方法:

 一、清除整个文档的空行: 方法:用ctrl+a(快捷方式),选中全部源程序代码文档;点击word的查找替换功能 查找:^p^P; 替换为:^P。选择“全部替换”。反复N次,直到全部替换完成。

 

 二、源代码每页不低于50行的实现方法: 

1、设置整个文档的字体和字号: 方法:用ctrl+a,全选文档。在选中的文档上,点击鼠标右键(功能键),找到“字体”选项,选择“+中文正文”字体、五号字。如下图所示 

2、通过文档的“段落”功能设置,实现文档“每页不低于50行”的要求。方法:ctrl+a,文档全选。在文档全选的情况下,点击鼠标右键(功能键)。找到“段落”选项。调出对话框对文档进行设置如下: 选择行距:固定值;设置值:14磅。 

 

三、文档的页眉及页码的设置(字号用5号) 此文档的页眉填加“软件著作权的全称+版本号”和页码(右上角)。效果如下图: 

]

四、文档首页设置与编辑方法: 文字竖排:先“插入文本框”,再录入文字“*****软件源程序”。选择“竖排”文字格式,调整字号,调整文本框到页面合适的位置。效果如下图: 

五、提示: 

1、文档的页眉上,尽量要用软件全称且含版本号。 目的:如果你的软件简称出现问题时,源代码文档不受任何影响!为调整几个字重新打印61页(源程序要求60页,封面1页)纸会很不爽的!

  • 3
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
以下是MATLABnufft函数的源代码: ```matlab function [y] = nufft(x, om, N, K, n_shift, iflag) %NUFFT NUFFT algorithm (using convolution via FFT) % [y] = nufft(x, om, N, K, n_shift, iflag) % Input % x: input signal (# of samples x # of channels) % om: frequency locations (# of samples x 2) % k = om(:,1) * 2*pi / N; l = om(:,2); % N: signal length % K: # of Fourier modes computed (K>=N) % n_shift: 0 or 1 (default) % perform fftshift or not in the output % iflag: sign of the imaginary unit in the exponential % if iflag>0, e^(iwt) = cos(wt) + i*sin(wt) % if iflag<0, e^(iwt) = cos(wt) - i*sin(wt) % Output % y: output spectrum (# of modes x # of channels) % % If you use this code, please cite the following paper: % Y. C. Eldar, A. J. Feuer, and G. D. Forney, Jr., % "Optimal tight frames and quantum measurement," IEEE Trans. Inform. Theory, vol. 48, no. 3, pp. 599-610, Mar. 2002. % % The NUFFT algorithm is based on the following paper: % A. Dutt and V. Rokhlin, "Fast Fourier transforms for nonequispaced data," SIAM J. Sci. Comput., vol. 14, no. 6, pp. 1368-1393, Nov. 1993. % % The FFTSHIFT function is used to match the output of MATLAB's FFT function. % % Written by Alex Pothen (alex.pothen@gmail.com), Sep 2013. % Modified by Yonina Eldar (yonina.eldar@gmail.com), Oct 2013. if nargin < 6, iflag = 1; end if nargin < 5, n_shift = 1; end if iflag > 0 sign = 1; else sign = -1; end M = size(om,1); % Compute Fourier transform of convolution kernel kk = (-K/2):(K/2-1); vk = exp(sign*2*pi*i*kk/N).'; NN = (-N/2):(N/2-1); n_shift = N*mod(n_shift,2); % make sure n_shift is either 0 or N h = zeros(N,1); h(NN + n_shift + 1) = sqrt(N) * vk .* (abs(NN + n_shift) < K/2); h = ifftshift(h); h = fft(h); % Compute convolution of signal with kernel y = zeros(K,size(x,2)); for ii=1:size(x,2) y(:,ii) = h .* fftshift(fft(ifftshift(x(:,ii)))); end % Compute Fourier transform at om frequencies y = y(mod(om(:,2)),:); y = y(om(:,1)+1,:); % Perform fftshift if required if n_shift y = fftshift(y,1); end ``` 这是一个比较基础的NUFFT实现,将输入信号x与卷积核h卷积,然后在频域对结果进行采样以得到输出y。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值