How to input data into an electrical circuit?

Hi! I have a simulink circuit (image attached) that is a simple RC circuit with an AC Voltage Source, and an AC Current Source as inputs, and a Voltage Sensor (measuring Capacitor's voltage) as output. I want the two inputs to take a vector of values that represents the signals they have to emit during the simulation, so I can study how the Capacitor's voltage changes when AC Voltage Source's voltage and AC Current Source's current variate. Can someone help me?

Answers (1)

If you want to have time variant voltage and current then you can use a Controlled Voltage Source and a Controlled Current Source and input the desired voltage and current profile from Simulink.

Categories

Find more on RF Toolbox in Help Center and File Exchange

Answered:

on 13 Dec 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!