Skip to main content

Questions tagged [function]

For questions about mathematical functions or computer functions (e.g. in VHDL, C++, etc.). Use the "transfer-function" tag instead for questions about transfer functions. Use in conjunction with tags that specify the type of function, e.g. "math", "vhdl", "c++", etc.

Filter by
Sorted by
Tagged with
1 vote
2 answers
57 views

function generator outputs - difference between 50 ohm and 600 ohm

I am trying to use a PCI-Quad04 board to count pulses (from a rotary encoder). In order to test out counting, I have a 1000Hz square-wave signal from a signal generator (BK Precision, 3011B) as ...
RealNovice's user avatar
0 votes
5 answers
113 views

Find a model with transfer function and real data

I am currently trying to create a model using a transfer function and my data. Here is my schematic: Here is my transfer function: My input signal is 2.5V for 10s, after which I decrease the voltage ...
Hally's user avatar
  • 1
1 vote
0 answers
82 views

Impedance for an equivalent circuit

In: Richard Reidl, N.O. Sokal & Laszlo Balogh (1990). A Novel Soft-Switching Full-Bridge DC/DC Converter: Analysis, Design Considerations, and Experimental Results at 1.5 kW, 100 kHz. IEEE ...
i33SoDA's user avatar
  • 103
0 votes
1 answer
108 views

How can I find the transfer function with Laplace in the (s) domain?

How can I find the transfer function for this circuit with laplace in the (s) domain?
genci_andonihotmailcom's user avatar
0 votes
5 answers
567 views

Equation for a Triangle wave shape [closed]

So I have this function, and is it writter analytically. I cannot understand how do we get 4Um/T and 2UM- 4Um/T or -4Um + 4Um/T. What I mean is that I have tried formula like this when I take u(t) ...
Filip's user avatar
  • 25
0 votes
0 answers
81 views

ESP32 Dual Core

Does anyone have experience with using the second ESP32 core? I searched the internet but I only came across two loops that run independently of each other. I would need to be able to call a function ...
Kabl62's user avatar
  • 1
1 vote
0 answers
45 views

Scroll Text Image right or left from memory on LED Matrix

In my new project based CPP on microcontroller, I have Text as image row and column stored in W25Q32 memory. the width of image can vary but height is fixed. So if Image width is 32 bits wide first 4 ...
joshin joy's user avatar
0 votes
3 answers
1k views

RLC circuit transfer function

I'm trying to obtain the transfer function which relates the input voltage with the inductor's voltage H(s) = Vl(S)/U(s) so far I've tried to use Kirchoff's Laws in order to find it. Any suggestions? ...
Izanami's user avatar
1 vote
1 answer
282 views

How do we get a -1 in a 1-bit ALU?

In the 1-bit ALU and the table that is shown below, as you can see, the output is -1 when F0 = 1, F1 = 1, ENA = 0, ENB = 0, INVA = 1, INC = 0. The table is taken from a book (Structured Computer ...
RK Eshat's user avatar
  • 143
1 vote
3 answers
317 views

The functional relationship between LDR and output voltage in a light activated differential amplifier

while learning about amplifiers, I found that this circuit cannot be quantitatively analyzed and I need help. I have two questions: LDR as a function of the input and output voltage of the amplifier (...
Iceeman's user avatar
  • 23
0 votes
2 answers
548 views

Does wire size matter? If so, how?

I took the transformer from a microwave to make a spot welder. I cut the secondary wire out. Now I'm supposed to wrap a wire around the iron base. Primary wire is much smaller gauge than the secondary,...
Daze Daemar's user avatar
1 vote
1 answer
205 views

Construction of a Lagrangian function for a circuit

I was reading the paper "Introduction to quantum electromagnetic circuits", by U. Vool and M. Devoret and I am stuck in the construction of a Lagrangian function for the example LC circuit ...
axis's user avatar
  • 11
2 votes
2 answers
275 views

What happens after Return 0 in C on an embedded microcontroller? [duplicate]

In an embedded microcontroller programmed using C, generally the code body is placed within a continuous loop like while(1) in the main function so execution never ...
David777's user avatar
  • 1,555
4 votes
1 answer
364 views

How to remove unneeded SMD LEDs from a PCB without impairing function?

I am working on an ESP32 prototype project which uses two SW420 vibration sensors. On this board there are two (fairly bright) SMD LEDs, their function is not only not necessary but also unwanted, ...
Matthieu Kints van's user avatar
0 votes
1 answer
42 views

Express state of overflow as function?

Making an ALU I want a signal that signals whenever an addition or subtraction changes the binary number from - to +. Each number u and v is 4-bits and therefore is marked by 0, 1, 2, 3 where 3 is the ...
contrapunctus's user avatar
1 vote
2 answers
304 views

Filter coefficients and filter calculation methods

I'm trying to figure out the R and C elements for a second-order Bessel filter approximation. Unfortunately, in the below calculations the quality factor is negative, so it is wrong? (I checked by ...
grandzello's user avatar
1 vote
4 answers
355 views

Transfer Function Involving Transformer

I am interested in how you would approach finding the transfer function of a circuit that involves a linear transformer. For example, the circuit below simulate this circuit – Schematic created ...
thatstheguy9's user avatar
-1 votes
1 answer
77 views

Mosfet circuit-function

Hello, I am doing digital electronics and I have never seen this notation 5o define a function. Can someone explain me with details what happens when CLK is 1 please Thank you
makala's user avatar
  • 17
5 votes
3 answers
4k views

What is the meaning of the keyword "__weak" in this callback function in HAL GPIO function?

I have started learning STM32 programming in HAL and I am confused about what this function exactly does: ...
user8737703's user avatar
-1 votes
1 answer
381 views

Ramp(sin(t)) whats the graph of this function? [closed]

If T = 1 and ramp(t/T), when you substitute t for sin(t), the interval 0<t<=1 is now sin(0)< sin(t)<=sin(1) or is it 0< sin(t)<= 1?.Thank you.
Derteck's user avatar
  • 37
1 vote
1 answer
996 views

Changing PWM Pulse and GPIO Outputs Inside a Function (STM32)

hope you are all doing well. I am trying to learn STM32 for about two weeks now and right now I need to create a Library file which includes just one function. This function changes PWM Duty Cycle and ...
kucar's user avatar
  • 211
0 votes
3 answers
1k views

Transfer function of brushless DC motor

Can someone explain how can 2nd order transfer function be represented by 1st order transfer function as shown in the equation 16 in the attached picture. I was trying to google it, but I couldn't ...
skela's user avatar
  • 1
2 votes
1 answer
457 views

Transfer Function of Parametric Equalizer

I'm trying to find the transfer function of a single band parametric equalizer. First stage is just a follower with an AC coupling capacitor. Output stage is an inverting amplifier. In the middle, ...
Romain Liechti's user avatar
0 votes
1 answer
269 views

Help with functional block program from ladder logic

I'm learning some basic functional block diagram programming and I'm trying to convert this ladder logic into block diagram but I don't know how because my book doesn't cover this. Can someone please ...
LDR's user avatar
  • 103
0 votes
1 answer
599 views

Solution to unknown function 'v' for a voltage source in LTspice?

I have been getting this strange error. Has anyone else experienced this kind of error beforein LTspice?
IamDp's user avatar
  • 1,885
-1 votes
1 answer
701 views

Oscilloscope can't detect voltage and waveform

I am having a trouble with my research. I am using a function generator to deliver electrical voltage to a wire and when I check it with the oscilloscope, it detects nothing (waveform, voltage.) Is it ...
Steve Moniz's user avatar
1 vote
0 answers
741 views

Follow-Up: LTSpice “Error:undefined symbol in:” problem

Thanks to those who have provided helpful answers on the original post. I've tried @Ernesto 's suggestions, but I must not be implementing them correctly as I'm still receiving similar errors. Please ...
RobMcN's user avatar
  • 165
1 vote
1 answer
559 views

How do I get the transfer function from this step response?

I have the following step response of a closed loop system. Using the calculations below, I tried to calculate the transfer function. I am trying to get the same response in Matlab. However, I seem ...
taigakin's user avatar
0 votes
1 answer
127 views

Writing function using sigma?

Suppose I was given: $$g(w,x,y,z)=(x+ y ̅+ z ̅ )( w+ y ̅+ z ̅ )( w+ x ̅+ y ̅ )$$ Then I can write it like this: \begin{align} g(w,x,y,z)&=(ww ̅+x+ y ̅+ z ̅ )( w+ xx ̅+y ̅+ z ̅ )( w+ x ̅+ y ̅ +...
daniel's user avatar
  • 21
-2 votes
1 answer
2k views

RiscV assembly, function arguments

I learnt that in RiscV assembly we save function arguments in registers s0,...,s7 but what if I had more that 8 arguments? Plus what about the case where I have more than 32 arguments (let's say 40) ...
albert's user avatar
  • 5
1 vote
1 answer
137 views

Is the disjunctive normal form unique?

As the title says, is the DMF always unique? And if no, is there an example of a function that has more than one DMF?
user7389496's user avatar
0 votes
1 answer
1k views

LM358 waveform generator issue

I would like to generate a 30 kHz & 60 kHz sawtooth waveform using an LM358P operational amplifier per the following schematic. Theoretically, and in the simulation, the circuit should work ...
George's user avatar
  • 91
-4 votes
2 answers
392 views

What are the two sensors doing in the automatic bread production line? [closed]

I want to know what is the name of these 2 sensors and what function they perform Some of you were complaining about the picture quality. It is the highest quality image I can get. Also these sensors ...
Karan Srivastava's user avatar
1 vote
0 answers
61 views

A bus routing puzzle, does it ring a bell?

I am breaking my head over a puzzling bus routing puzzle, and I wonder if this sort of problem rings a bell. I have 4 memory cell ports, let's call them EE, OE, EO, and OO, that are being mapped to 4 ...
Gunther Schadow's user avatar
0 votes
1 answer
49 views

How can I determine what type of logic structure this circuit represents?

I have the following circuit: How can I determine which one of the following functions it represents: F = (AB+CD)' F = ((A+B)(C+D))' F = AB+CD
Ali Mustafa's user avatar
0 votes
2 answers
112 views

How does the \$Q\$-factor of a parallel RCL circuit scale with the inductance?

I want to be able to show in an expression that the $Q$-factor of a parallel RCL circuit scales with the inductance. If we remind ourselves of a RCL circuit: simulate this circuit – Schematic ...
user27119's user avatar
  • 247
0 votes
3 answers
422 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?
Em Ka's user avatar
  • 167
1 vote
1 answer
929 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). ...
tarabyte's user avatar
  • 3,162
0 votes
1 answer
81 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 ...
Cape Zoloh's user avatar
-1 votes
2 answers
417 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 ...
Lukas Baliūnas's user avatar
0 votes
2 answers
99 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?
controlled_'s user avatar
0 votes
2 answers
128 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 ...
Newbie010's user avatar
0 votes
1 answer
66 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 ...
Jordan_b's user avatar
1 vote
1 answer
78 views

Code parts encapsulation method

I have a prototype of a simple monostable multivibrator components like this: ...
Łukasz Przeniosło's user avatar
2 votes
2 answers
5k 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 ...
Viktor's user avatar
  • 23
4 votes
2 answers
6k 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 ...
Alessandro Russo's user avatar
0 votes
1 answer
133 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 &...
sharksWithLasers's user avatar
-1 votes
4 answers
176 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 ...
SrnLord's user avatar
  • 157
1 vote
1 answer
1k 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 ...
butterflyflyaway's user avatar
1 vote
2 answers
3k 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 ...
DJE.T.'s user avatar
  • 11