Question
You have been collecting data on a nonlinear amplifier. Ideally, the output voltage [mV] should equal the input voltage [mV] squared. Thus an input of
You have been collecting data on a nonlinear amplifier. Ideally, the output voltage [mV] should equal the input voltage [mV] squared. Thus an input of 5 mV should yield an output of 25 mV. You have measured the output at each integer value from 1 mV to N mV and recorded the outputs (in mV) in the vector SqOut. Note that the INDEX of each output value equals the input value in mV.
SqOut contains [0.9985 4.052 8.973 15.81 25.15]
Create a vector OutOfSpec that contains a list of all inputs that generated an output differing from the ideal value by more than 1%. Note that the difference can be above or below the ideal value.
(Matlab)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started