代码搜索结果
找到约 10,000 项符合
Q 的代码
q.cpp
#include
#include
int shurubiao(int n,char m)
{
int temp;
printf("当当前状态和移进字符分别为%d,%c时请输入转换的状态:",n,m);
scanf("%d",&temp);
printf("\n");
return temp;
}
int biaohao(
q.m
function [y]=Q(x)
% [y]=Q(x)
% Q evaluates the Q-function.
% y = 1/sqrt(2*pi) * integral from x to inf of exp(-t^2/2) dt.
% y = (1/2) * erfc(x/sqrt(2)).
y=(1/2)*erfc(x/sqrt(2));
q.m
function [q]=Q(a,b,c,d)
%求不同参数下的传递函数和目标函数的值
S1=a;Ti1=b;
S2=c;Ti2=d; %取传递函数的参数
G1=tf([1],[225 30 1]);
G2=tf([Ti2 1],[S2*Ti2 0]);
G3=G1*G2;
sys1=feedback(G3,1);
G
q.m
function [y]=Q(x)
% [y]=Q(x)
% Q evaluates the Q-function.
% y = 1/sqrt(2*pi) * integral from x to inf of exp(-t^2/2) dt.
% y = (1/2) * erfc(x/sqrt(2)).
y=(1/2)*erfc(x/sqrt(2));