% Use this program to reproduce Fig 4.4 of text close all clear all eps = 0.0001; taup = 2.; fd = -10./taup:.05:10./taup; un…
Nuts+and+Volts 源代码
汇集 Nuts+and+Volts 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
signal void ADC0_Sine (void) { float volts; // peak-to-peak voltage float frequency; // output frequency in Hz …
signal void AnaloguePlus (void) { ain0 = ain0 +0.1; twatch(20); } signal void AnalogueMinus (void) { ain0 = ain0 -0.1; t…
signal void AnaloguePlus (void) { ain0 = ain0 +0.1; twatch(20); } signal void AnalogueMinus (void) { ain0 = ain0 -0.1; t…
/******************************************************************************/ /* SIM.INI: Simulator Initialization File …
function volts = ac_phase_controller(wt,deg) % Function to simulate the output of the positive half % cycle of an ac phase angl…
function volts = sinewave(wt) % Function to simulate the output of a sie wave wt = Phase in radians (=omega x time) % Simu…
signal void AnaloguePlus (void) { ain0 = ain0 +0.1; twatch(20); } signal void AnalogueMinus (void) { ain0 = ain0 -0.1; t…
function [resp] = double_canceler(fofr1) eps = 0.00001; fofr = 0:0.01:fofr1; arg1 = pi .* fofr; resp = 4.0 .* ((sin(arg1)).^2)…
function [resp] = double_canceler(fofr1) eps = 0.00001; fofr = 0:0.01:fofr1; arg1 = pi .* fofr; resp = 4.0 .* ((sin(arg1)).^2)…