Question
The capacitance of a thin film changes with varying temperature. Write a function in MATLAB called CAPAC to calculate the Capacitance (in nano-Farads) of a
The capacitance of a thin film changes with varying temperature. Write a function in MATLAB called CAPAC to calculate the Capacitance (in nano-Farads) of a MGM Thin Film based on a single input, a temperature (in Kelvin), and linear interpolation of collected Temperature and corresponding Capacitance data for the thin film. The temperature will be a single variable in the range of 270 K to 400 K. Predict the value using the command interp1. The function has one input value, the temperature. The function has a single output equal to the calculated Capacitance based on the input temperature and linear interpolation of the data. You can copy these: Tdata=[270 300 320 360 380 400]; Cdata=[15.2 20.7 26.4 46.2 64.9 75.1];
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