# Questions tagged [function]

The tag has no usage guidance.

64 questions
Filter by
Sorted by
Tagged with
43 views

### What's the phase relation between the sine wave and the sync output from a function generator?

I'm using a function generator to generate a sine wave, and am trying to use the sync (TTL) output to flash an LED at the beginning of each wave pulse. However, when I compare the sin wave and the ...
68 views

### Understanding function generator output when units are in dBm

I am using a function generator with output in units of dBm. It has an output impedance of 50 ohms. I am measuring this output on an oscilloscope, and am failing to understand the waveform's amplitude....
69 views

### Flat line on output of single supply sawtooth generator

I have built the following sawtooth generator using LM358 opamps: In simulation everything works fine, however in reality I get only flat line on output. Anyone got any idea what's going on?
66 views

### How would you go about getting the small signal transfer function for this inverting circuit?

I am trying to get the small signal transfer function for a circuit that looks like this: It is an inverting amplifier connected to an output branch and a branch with a capacitor in series with an ...
65 views

### How to validate that a function is executing from RAM?

I'm trying to execute a control function as quickly as possible from SRAM on an STM32F3xx using GCC (System Workbench toolchain). ...
71 views

### There is no math for adding the functions of two parallel filters. Or is it?

I want to add two "parallel" functions. Each of them describes the frequency response of that individual filter. Put in other words, I want to see what the frequency response looks like when the two ...
61 views

### Graphical nature of signal energy

In signals, we learn that the energy of a signal is the integral of its square. E.g. $E=\int_{-\infty}^\infty x^2(t) dt$ We know that integrals are the areas under the function in a graph. But ...
188 views

### Constructing bode plot from experimental data and constructing a transfer function

I've been trying for a few days to convert an experimentally obtained (frequency against magnitude and frequency against phase) graphs to a bode plot and then construct a transfer function from the ...
48 views

### Frequency response simple question

I'm looking at answers to calculating the frequency response, but i don't understand one line. what are they doing to go from the first line to the second line?
224 views

### Obtain a Transfer Function from Bode Plot shown

I want to obtain a Transfer Function from the Bode Plots I already got the corner frequencies (approximates) and all the terms for my T.F. Then when I try to check my results in MATLAB my plot drops ...
39 views

### total transfer function of a LTI System with feedback

I have calculated the transfer function of such systems many times, but now i feel like I`m going around in circles. I have drawn a few help-signals to help me solve it, but they are dependent of one ...
49 views

### How to choose which function to use depending on the parameter value? (MUX and Gates implementation)

Let's say we have A,B,C , which are all representation of decimal numbers. A and C are 4bit, B is 2bit. if A is any of those numbers (eg: 0,5,6,11 ), the function is F(A,B,C) = AB+C If A is the ...
56 views

### Code parts encapsulation method

I have a prototype of a simple monostable multivibrator components like this: ...
956 views

### Implementing a function using decoder, encoder and some gates

Implement the function F(A,B,C,D,E) = A’B’C’DE’+ABCD’E using only the components required from the ones given below: One 3:8 decoder with active high outputs and an active high enable input One 8:3 ...
502 views

### LTSpice: how do I pass to a function a component name as parameter?

Good morning all. I am implementing a subcircuit in LTspice, and I want also to modify the plot.defs to calculate some quantities with the voltages/currents inside the subcircuit. Thus, I will have a ...
134 views

### Power amp for function generator

I have designed a function generator with the XR2206. That works well. I can take it up to 2MHz (sacrificing on THD, however). Where I have failed so far, is the power stage. I have a supply of +...
89 views

### Special Function Registers value expressed as Hexadecimal & Bit shift

I was wondering if someone could help me solve one problem, because I am very new to this and I was given the code of a former programmer to work with. I'm trying to figure out the value of 0x8008 &...
76 views

### How do I integrate a function and plot the result on Matlab?

I need to plot a function that has an integrate inside, but I don't know how to do this on Matlab. Function: $SOC(t)= SOC(0) - \dfrac{1}{Q}\int_{0}^{t}i_2(t)dt$ time is in hours, current is in ...
180 views

### Bode plot of circuit with unknown values

I have the two following circuits with unknown values for R1, L and C, R2 is 1Kohm. I have attempted to find the transfer functions for these circuits and ultimately want to produce two bode plots ...
113 views

### Transfer Function of Op Amp Circuit

How can I obtain the transfer function graph of this circuit, assuming the zener diodes voltage are 4.3V and silicon diodes 0.7V.
440 views

### 4 to 16 decoder made by two 3 to 8 decoders not working properly

I have a function f(x,y,z,w)=x.y.z+ y’.z’+x’.w’ and I need to make a circuit using two 3 to 8 decoders, an inverter, an or gate with as many inputs as we want (I use two because I need a 9 input one ...
180 views

### Average of a periodic voltage

I know that this question is math related, but I still don't get why we can say the following formula holds: I've a voltage $V:\left[0,\infty\right]\to\mathbb{R}$ and $V$ is periodic with $T$....
96 views

### Implication of s -> infinity in a transfer function

For a strictly proper transfer function with no poles/zeros at infinity, I understand that it gives G(inf) = 0. What does it for a proper TF?
251 views

I'm trying to add the following function on my Simulink model. where C, B, and N are already variables in my file. Is the correct way to multiply omega by the gains 3N and N/2 an input that into the ...
245 views

### minimize hazard free function

Given a function, e.g. $y = f(x_0, x_1, x_2, x_3) = \sum m(0, 3, 4, 5, 6, 7, 8, 9, 11, 15)$. How can i find the minimized function without hazards? I see this can be minimized using a Karnaugh map: ...
723 views

### Transfer function of three cascaded RC filters?

I am looking for the transfer function of three cascaded RC filters: I have found the solution for two RC cascades (components differently labeled): I need an analytical expression like this one for ...
73 views

### Unable to access structure members through pointer in function called form another funciton?

While trying to interface BMP180 to my STM32L4 Controller using libraries I found that the , BMP180_RETURN_FUNCTION_TYPE bmp180_get_calib_param(void) funciton ...
120 views

### What are the available solutions for a 8-input OR function that is 74xx compatible?

I need to implement an 8-input OR function that is compatible to IC chips of the 7400 series. I already found a few solutions, but none of them is perfect. A perfect solution would be an OR-gate chip ...
168 views

### 2nd Order transfer function to difference equations

I'm wondering if someone could check to see if my conversion of a standard second order transfer function to a difference equation is correct, and maybe also help with doing a computer implementation. ...
83 views

### Fourier Transform Impulse

My friend and I are revising and we are confused on how to start the question below, and we're hoping someone could give us a hint. Sorry if it's a bit blurry. We have the following equation, but ...
59 views

5k views

### Why does VHDL function declaration not accept bounds for the return type, e.g. std_logic_vector?

I know that in VHDL each function call is instantiated as a separate combinational circuit. I am writing a function that takes in a 4 bit value and returns a 7 bit value from a look up table. The ...
130 views

### Trying to simulate the linear region of a MOSFET

I wanted to simulate the linear region, so I tried this: simulate this circuit – Schematic created using CircuitLab I expected the triangle wave to be curved, but it didn't have those features....
1k views

### VHDL functions with generic or “run time variable”, synthesis issues

I have been thinking about functions in VHDL. If we have a function we could have both a function where we pass a "generic" (i.e. a fixed parameter known at compilation time) and a variable/signal (...
527 views

...