kasamiseq64.m
来自「Kasami sequence generator using matlab」· M 代码 · 共 19 行
M
19 行
clc;
clear all;
close all;
fbconnection=[0 1 0 0 1 1];
mseq=m_sequence(fbconnection);
% fbconnection1=[0 0 1 0 0 1];
% fbconnection2=[0 1 1 1 0 1];
kasamiseq=kasami_seq(fbconnection);
%N=2^length(fbconnection)-1;
ind1=find(mseq==0);
mseq(ind1)=-1;
ind2=find(kasamiseq==0);
kasamiseq(ind2)=-1; %creat 31*31 gold sequence
temp=kasamiseq(8,:);
fid = fopen('kasami64.txt','w');
fprintf(fid,'%d,\n',temp);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?