tocrtpoly.m
来自「压缩文件中是Error Correction Coding - Mathemat」· M 代码 · 共 20 行
M
20 行
function y = tocrt(f,m)% function y = tocrt(f,m)%% Compute the representation of the polynomial f using the% using the Chinese Remainder Theorem (CRT) with% moduli m = {m1,m2,...,mr}. It is assumed (without checking)% that the moduli are relatively prime.% m is passed in as a cell array containing polynomial vectors% and y is returned as a cell array containing polynomial vectors% Copyright 2004 by Todd K. Moon% Permission is granted to use this program/data% for educational/research only[n,r] = size(m);for i=1:r [q,y{i}] = polydiv(f,m{i});end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?