代码搜索结果
找到约 10,000 项符合
Z 的代码
z85230.h
/*
* Description of Z8530 Z85C30 and Z85230 communications chips
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1998 Alan Cox
*/
#ifndef _Z8530
z85230.c
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2
z8530.h
/* 8530 Serial Communications Controller Register definitions */
#define FLAG 0x7e
/* Write Register 0 */
#define R0 0 /* Register selects */
#define R1 1
#define R2 2
#define R3 3
#define R4 4
#de
h_to_z.m
function Z=H_to_Z(H);
dim=size(H);
Z=zeros(dim);
if(length(dim)
z_to_s.m
function S=Z_to_S(z_param,Z0);
dim=size(z_param);
S=zeros(dim);
if(length(dim)
z_to_abcd.m
function ABCD=Z_to_ABCD(Z);
dim=size(Z);
ABCD=zeros(dim);
if(length(dim)
z_to_y.m
function Y=Z_to_Y(Z);
z11=Z(:,1,1);
z12=Z(:,1,2);
z21=Z(:,2,1);
z22=Z(:,2,2);
y11=z22;
y12=-z12;
y21=-z21;
y22=z11;
Y=[y11,y12;y21,y22]/det(Z);
abcd_to_z.m
function Z=ABCD_to_Z(abcd_param);
dim=size(abcd_param);
Z=zeros(dim);
if(length(dim)
s_to_z.m
function Z=S_to_Z(s_param,Z0);
s11=s_param(1,1);
s12=s_param(1,2);
s21=s_param(2,1);
s22=s_param(2,2);
delta=(1-s11)*(1-s22)-s12*s21;
z11=((1+s11)*(1-s22)+s12*s21)/delta;
z12=2*s12/delta;
y_to_z.m
function Z=Y_to_Z(Y);
y11=Y(1,1);
y12=Y(1,2);
y21=Y(2,1);
y22=Y(2,2);
z11=y22;
z12=-y12;
z21=-y21;
z22=y11;
Z=[z11,z12;z21,z22]/det(Y);