Questions tagged [function]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-3
votes
0answers
22 views

Dynamic call for Variadic functions (Arduino) [closed]

How can we make this code work for Arduino? Thank in advance. ...
4
votes
3answers
1k views

Function generator in the nano or micro volt range

I'm looking to get a hold of a wave function generator that can produce signal in the micro or nano volt peak to peak range. The lowest I've been able to find is in the millivolt range. Do these ...
0
votes
1answer
43 views

ac/dc coupling and DC offset to read DC voltage in analog oscilloscope

A function generator is connected to an analog oscilloscope. I can see a sine wave. Can I read DC voltage with the help of DC offset knob? If so, can the minimum DC voltage be negative?
0
votes
2answers
102 views

Transfer function of electrical circuit

I have a question about this circuit. How do i get transfer function of a circuit with a diode? The current through diode is Id = e^(Ud/5) -1
-1
votes
1answer
54 views

transfer function discrete

If f[n] is the input and g[n] is the output, how can I determine the transfer function of the diagram?
0
votes
0answers
37 views

Gain & Phase of a transfer function

can anyone help me calculate the gain and phase angle of the following transfer function for a low pass filter at a frequency of 130 rad s^-1: G=1/(1+jw/260)
1
vote
1answer
73 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 ...
1
vote
1answer
146 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....
0
votes
3answers
88 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?
1
vote
1answer
74 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 ...
1
vote
1answer
81 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). ...
0
votes
1answer
73 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 ...
0
votes
2answers
67 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 ...
0
votes
1answer
430 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 ...
0
votes
2answers
59 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?
2
votes
2answers
422 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 ...
0
votes
2answers
52 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 ...
0
votes
1answer
51 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 ...
1
vote
1answer
65 views

Code parts encapsulation method

I have a prototype of a simple monostable multivibrator components like this: ...
2
votes
2answers
2k 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 ...
2
votes
2answers
898 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 ...
3
votes
2answers
158 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 +...
0
votes
1answer
94 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 &...
-1
votes
4answers
79 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 ...
0
votes
1answer
227 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 ...
0
votes
2answers
118 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.
1
vote
1answer
508 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 ...
4
votes
5answers
227 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\$....
0
votes
1answer
167 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?
0
votes
2answers
507 views

Sine Function on Simulink

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 ...
1
vote
0answers
282 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: ...
1
vote
2answers
1k 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 ...
0
votes
2answers
77 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 ...
0
votes
4answers
130 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 ...
0
votes
0answers
197 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. ...
-2
votes
2answers
84 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 ...
0
votes
1answer
61 views

simplify boolean function

I have tried to simplify a boolean function. Unfortunately it is wrong. Question: Where is my mistake? \$ f = x_4x_2 + \overline {(x_3 + x_2)x_2 \cdot 1} + x_2 x_0\$ \$ f= x_4 x_2 + \overline {(...
3
votes
3answers
308 views

Do analog circuits exist that are essentially mathematical functions in DC?

I am curious if a class of analog circuits exist that would take say a 0-5 V input signal and output a mathematical function like a sine function mapping 0-5 V to 0-2pi, or a log, exponent, polynomial?...
-4
votes
1answer
142 views

Figure out logical function from a CMOS logic circuit

"Given that Vdd > 0, determine the logical function that this CMOS circuit represents." Any help on how to approach this problem would be great. Many thanks!
0
votes
0answers
346 views

VHDL - Output an array to another module - or perhaps a better way to implement?

I have two modules in VHDL, they look something like this: simulate this circuit – Schematic created using CircuitLab In module U1 I have an input of 8 switches, and each switch is supposed to ...
-2
votes
1answer
658 views

C project for PIC won't build when I call user defined functions

So I am trying to set up a UART serial connection, and I have a function called UART_INIT to initialise my UART, however when I try to call it my project won't build and I can't see why. If I just ...
0
votes
2answers
221 views

Impedance matching with unknown filter

My question is related to impedance matching when using a function generator and oscilloscope to identify a type of passive filter, i.e. low pass, high pass, etc. If I output a function sweep from a ...
0
votes
1answer
15k views

Implement Boolean function using only 4x1 multiplexer considering A and D as input and B,C as selection values

F(A,B,C,D) = Σm(0,1,3,4,6,7,11,12,14,15) How do I use A and D as input and use only 2 selection lines for a 4 variable function?
2
votes
1answer
610 views

Arbitrary Function Generator or DAC with memory IC help

I am trying to look for a hardware solution to my current problem. Currently I am using an AFG preprogrammed with a signal (example below, 8bit resolution is OK, using 30 or more data points each 1us ...
-1
votes
1answer
50 views

transfer function confusion

It has been said that Vout = Va/2 I'm not sure why this would be. Could someone please tell me why?
0
votes
1answer
192 views

Impedances to simplify RC circuit?

Suppose I am trying to solve the following circuit, where \$V_i\$ is the potential seen from the top branch to the bottom branch (which is 'grounded') and \$V_o\$ is the potential across \$C_2\$: If ...
0
votes
1answer
83 views

Cannot figure out resonance of an LRC circuit

this is my first time here, nice to meet you all. In one of my classes we are studying the resonance of an LRC Circuit where the C branch is in parallel with an RL branch. This circuit is driven by ...
0
votes
2answers
424 views

Identify DC motor parameters using Least Squares Estimator

I'm not new to the concept of Least Squares, however, I find it difficult to figure out how to make it identify the transfer function for my motor. I will have my input voltage and an optical encoder ...
-2
votes
1answer
228 views

Explanation of how to create circuit from transfer function

So I'm in this lab course that must be taken concurrently with the main upper div circuits class, but we were assigned a lab that our professor did not explain and that the lab manual does not explain....
0
votes
1answer
90 views

Output voltage function (circuit-analysis)

What will the function of the output voltage be? My work, and am I right?: $$\text{V}_{\text{out}}(t)=\frac{\text{R}_9\text{V}_{\text{in}}(t)}{\text{R}_{10}}+\frac{1}{\text{R}_{11}\text{C}_1}\int\...