代码搜索:精度可调
找到约 3,652 项符合「精度可调」的源代码
代码结果 3,652
www.eeworm.com/read/486797/6529432
m mulvnewton.m
function [r,m]=mulVNewton(F,x0,A,eps)
%方程组:F
%方程组的初始解:x0
% 初始A矩阵:A
%解的精度:eps
%求得的一组解:r
%迭代步数:m
if nargin==2
A=eye(length(x0)); %A取为单位阵
eps=1.0e-4;
else
if nargin==3
www.eeworm.com/read/484698/6572732
cpp main2-8.cpp
// main2-8.cpp 检验bo2-8.cpp的主程序
#include"c1.h"
typedef int ElemType; // 也可以定义ElemType为实型或双精度型
#include"c2-1.h"
#include"bo2-8.cpp"
void visit(ElemType &c) // ListTraverse()调用的函数(类型要一致)
{
www.eeworm.com/read/481733/6637612
m roulette.m
%{
轮盘赌法程序
%}
function Select=Roulette(P,num)
%:按轮盘赌策略选择下一点,返回num次轮盘赌结果
%:第一种轮盘赌方法,精度很低,
% m = length(P);
% Select = zeros(1,num);
% for i=1:num
% Select(i) = m;% 初始化为最后一个
% for j=
www.eeworm.com/read/478969/6695737
txt short_time_analysis.txt
function short_time_analysis()
%该函数的功能是将语音信号进行分帧,frame_num为所分帧的数目,xn为二维向量,存放个帧数据
%Number of samples: 17280
%Sampling frequency: 8000 Hz
%精度16位
%窗函数为海明窗Hamming Window
x=wavread('01.wav');
www.eeworm.com/read/478992/6696741
txt short_time_analysis.txt
function short_time_analysis()
%该函数的功能是将语音信号进行分帧,frame_num为所分帧的数目,xn为二维向量,存放个帧数据
%Number of samples: 17280
%Sampling frequency: 8000 Hz
%精度16位
%窗函数为海明窗Hamming Window
x=wavread('01.wav');
www.eeworm.com/read/477438/6735472
m s032.m
%位宽uint8转换为双精度 s032
I32=imread('1.jpg');
I320=rgb2gray(I32);
I321=im2double(I320);
I320(1:5,1:5),I321(1:5,1:5)
www.eeworm.com/read/476733/6748881
m mulvnewton.m
function [r,m]=mulVNewton(F,x0,A,eps)
%方程组:F
%方程组的初始解:x0
% 初始A矩阵:A
%解的精度:eps
%求得的一组解:r
%迭代步数:m
if nargin==2
A=eye(length(x0)); %A取为单位阵
eps=1.0e-4;
else
if nargin==3
www.eeworm.com/read/262778/11391350
cpp main2-8.cpp
// main2-8.cpp 检验bo2-8.cpp的主程序
#include"c1.h"
typedef int ElemType; // 也可以定义ElemType为实型或双精度型
#include"c2-1.h"
#include"bo2-8.cpp"
void visit(ElemType &c) // ListTraverse()调用的函数(类型要一致)
{
www.eeworm.com/read/407616/11413508
f90 e_322_05.f90
!正弦函数用泰勒级数展开:sinx=x-x^3/3!+x^5/5!-x^7/7!+...。计算有限精度范围内的值。
real , parameter:: pi=3.141592, err=1.e-6
integer, parameter:: max_terms=10
read *, x; x=x*pi/180
k=1; term=x; sin_=term
do while((
www.eeworm.com/read/407116/11429249
f90 e_322_05.f90
!正弦函数用泰勒级数展开:sinx=x-x^3/3!+x^5/5!-x^7/7!+...。计算有限精度范围内的值。
real , parameter:: pi=3.141592, err=1.e-6
integer, parameter:: max_terms=10
read *, x; x=x*pi/180
k=1; term=x; sin_=term
do while((