Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please follow the instruction carefully. Also with answering the question, Pleas

ID: 3827366 • Letter: P

Question

Please follow the instruction carefully. Also with answering the question, Please make you its easy for my to copy and paste the code instead of taking a screen shot of it.

Thank you.

You will submit one MATLAB script that includes solutions to parts on this homework and one Excel file that includes solutions to Excel parts on this homework. Your MATLAB script must contain the following information in comments: 1. Your first and last name 2. The course and your section 3. Instructor Name 4. The date 5. The homework assignment number and part 6. A summary of what the script does Your Excel chart must contain the following components Note 1 Ensure that you follow MATLAB naming rules for variable and file names Note 2 Insert comments wherever appropriate for clarity of your program Note 3 Your script must have no syntax errors; if it fails to run then no points will be given. You will be graded on the following: Your ability to structure and implement plots to instruct the computer to perform a certain iterative procedure in order to achieve a specific outcome The completeness of your submission in terms o fulfilling all specified requirements listed on the problems Your MATLAB scripts must run without any syntax errors o Your files must not be corrupted. Check your submissions after you have clicked "Submit".

Explanation / Answer

I=xlsread('datafile.xls'); % import data from Excel to MATLAB T=[275,281,294,309,315]; %Temperature A=[852,523,194,69,47]; %Diode A Current AT=300; %Given Temperature AC=interpl(T,A,AT,spline); %linear interpolation plot(T,A,'o'); %plot current vs temperature of Diode A hold on; plot(AT,AC,'r'); %plot interpolation