Assignment Description: Please use MATLAB to write a program for curve fitting using the following equation and the attached excel file.Please generate the fitted equation, and provide the value...

1 answer below »
Please find the attached file for description for the MATLAB assignement.










The attached excel file has Time for x-axis and Id for y-axis.



Assignment Description: Please use MATLAB to write a program for curve fitting using the following equation and the attached excel file. Please generate the fitted equation, and provide the value of the constants, the order of constants must be available for change (For instance, 3, 4… etc.). Please also generate a plot as follows, the range for time will be 0.001 to 0.01 second. 1E-3 0.01 0.1 0.000 0.001 0.002 0.003 Id ( A ) Time (s) 工作表1 Time (sec)Id (A) 00.00259 1.00E-040.0021 2.00E-040.00133 3.00E-048.20E-04 4.00E-045.40E-04 5.00E-043.85E-04 6.00E-044.60E-04 7.00E-047.20E-04 8.00E-040.00111 9.00E-040.00144 1.00E-030.00172 0.00110.00186 0.00120.00201 0.00130.00201 0.00140.00212 0.00150.00212 0.00160.0021 0.00170.00213 0.00180.00213 0.00190.00214 0.0020.00215 0.00210.00213 0.00220.00214 0.00230.00217 0.00240.00214 0.00250.0022 0.00260.00214 0.00270.00221 0.00280.00217 0.00290.00219 0.0030.00217 0.00310.00216 0.00320.00219 0.00330.00216 0.00340.00218 0.00350.00215 0.00360.00219 0.00370.00214 0.00380.00219 0.00390.00213 0.0040.00219 0.00410.00215 0.00420.00217 0.00430.00216 0.00440.00216 0.00450.00217 0.00460.00213 0.00470.00215 0.00480.00211 0.00490.00215 0.0050.00211 0.00510.00216 0.00520.00213 0.00530.00215 0.00540.00214 0.00550.00213 0.00560.00219 0.00570.00214 0.00580.00215 0.00590.00217 0.0060.00215 0.00610.00218 0.00620.00217 0.00630.00213 0.00640.00217 0.00650.00214 0.00660.00222 0.00670.00217 0.00680.0022 0.00690.00219 0.0070.00221 0.00710.00217 0.00720.00223 0.00730.00219 0.00740.00226 0.00750.00222 0.00760.00224 0.00770.00222 0.00780.00219 0.00790.0022 0.0080.00217 0.00810.00216 0.00820.00217 0.00830.00215 0.00840.00216 0.00850.00221 0.00860.00219 0.00870.00217 0.00880.00219 0.00890.00222 0.0090.00224 0.00910.00224 0.00920.00224 0.00930.0022 0.00940.00224 0.00950.00216 0.00960.0022 0.00970.00215 0.00980.0022 0.00990.00215 0.010.00219 0.01010.00217 0.01020.00219 0.01030.0022 0.01040.0022 0.01050.00219 0.01060.00222 0.01070.00218 0.01080.00222 0.01090.00217 0.0110.0022 0.01110.0022 0.01120.00217 0.01130.00221 0.01140.00215 0.01150.0022 0.01160.00216 0.01170.00221 0.01180.00219 0.01190.00215 0.0120.00217 0.01210.00217 0.01220.00217 0.01230.0022 0.01240.00217 0.01250.00218 0.01260.00219 0.01270.00219 0.01280.00217 0.01290.0022 0.0130.00219 0.01310.0022 0.01320.00217 0.01330.00223 0.01340.00218 0.01350.00224 0.01360.0022 0.01370.00224 0.01380.0022 0.01390.0022 0.0140.00225 0.01410.00219 0.01420.00224 0.01430.00217 0.01440.00223 0.01450.00217 0.01460.00222 0.01470.0022 0.01480.00223 0.01490.00222 0.0150.0022 0.01510.00224 0.01520.00219 0.01530.00223 0.01540.00216 0.01550.00222 0.01560.00215 0.01570.00222 0.01580.00215 0.01590.00219 0.0160.00219 0.01610.00218 0.01620.00221 0.01630.00216 0.01640.0022 0.01650.00216 0.01660.00218 0.01670.00219 0.01680.00224 0.01690.00219 0.0170.00222 0.01710.00219 0.01720.00217 0.01730.00214 0.01740.00218 0.01750.00218 0.01760.00214 0.01770.00216 0.01780.00219 0.01790.00215 0.0180.0022 0.01810.00214 0.01820.00223 0.01830.00217 0.01840.00222 0.01850.00217 0.01860.00219 0.01870.00222 0.01880.00218 0.01890.00219 0.0190.00222 0.01910.00217 0.01920.00219 0.01930.00217 0.01940.00217 0.01950.00217 0.01960.00218 0.01970.00217 0.01980.00219 0.01990.00216 0.020.00217 0.02010.00219 0.02020.00216 0.02030.00219 0.02040.00218 0.02050.0022 0.02060.00219 0.02070.00223 0.02080.0022 0.02090.00222 0.0210.00219 0.02110.00224 0.02120.00217 0.02130.00224 0.02140.00223 0.02150.0022 0.02160.00222 0.02170.0022 0.02180.00224 0.02190.00219 0.0220.00222 0.02210.00218 0.02220.00218 0.02230.00218 0.02240.00215 0.02250.00219 0.02260.00215 0.02270.00215 0.02280.00217 0.02290.00217 0.0230.00218 0.02310.00218 0.02320.00218 0.02330.00215 0.02340.00219 0.02350.00215 0.02360.00218 0.02370.00213 0.02380.00219 0.02390.00215 0.0240.0022 0.02410.00217 0.02420.00218 0.02430.00221 0.02440.00217 0.02450.00222 0.02460.00215 0.02470.0022 0.02480.00217 0.02490.0022 0.0250.00219 0.02510.00216 0.02520.00218 0.02530.00215 0.02540.00222 0.02550.00213 0.02560.00217 0.02570.00214 0.02580.00219 0.02590.00214 0.0260.00217 0.02610.00218 0.02620.00219 0.02630.00223 0.02640.0022 0.02650.0022 0.02660.00218 0.02670.0022 0.02680.00218 0.02690.00219 0.0270.00215 0.02710.00219 0.02720.00215 0.02730.00221 0.02740.00215 0.02750.00221 0.02760.00217 0.02770.0022 0.02780.00217 0.02790.00219 0.0280.00219 0.02810.00219 0.02820.00219 0.02830.0022 0.02840.00218 0.02850.00223 0.02860.00219 0.02870.00222 0.02880.00218 0.02890.00224 0.0290.00219 0.02910.00223 0.02920.00215 0.02930.0022 0.02940.00215 0.02950.00219 0.02960.00214 0.02970.00216 0.02980.00216 0.02990.00215 0.030.00216 0.03010.00213 0.03020.00216 0.03030.00212 0.03040.00217 0.03050.00213 0.03060.00216 0.03070.00213 0.03080.00219 0.03090.00215 0.0310.00219 0.03110.00217 0.03120.00222 0.03130.00217 0.03140.00222 0.03150.00219 0.03160.0022 0.03170.00219 0.03180.00219 0.03190.00222 0.0320.00218 0.03210.00224 0.03220.00218 0.03230.00223 0.03240.00221 0.03250.00222 0.03260.00219 0.03270.00217 0.03280.00217 0.03290.00217 0.0330.00214 0.03310.00215 0.03320.00217 0.03330.00215 0.03340.00218 0.03350.00213 0.03360.00218 0.03370.00216 0.03380.00221 0.03390.00219 0.0340.00221 0.03410.00222 0.03420.0022 0.03430.00221 0.03440.00217 0.03450.00219 0.03460.00215 0.03470.00222 0.03480.00216 0.03490.00218 0.0350.00217 0.03510.00217 0.03520.00219 0.03530.00214 0.03540.00219 0.03550.00214 0.03560.00221 0.03570.00215 0.03580.00219 0.03590.00219 0.0360.00217 0.03610.00217 0.03620.00217 0.03630.00219 0.03640.00216 0.03650.0022 0.03660.00216 0.03670.00219 0.03680.00215 0.03690.0022 0.0370.00217 0.03710.00217 0.03720.00217 0.03730.00215 0.03740.00218 0.03750.00213 0.03760.00217 0.03770.00211 0.03780.00217 0.03790.00213 0.0380.00215 0.03810.00214 0.03820.00215 0.03830.00216 0.03840.00215 0.03850.00217 0.03860.00214 0.03870.0022 0.03880.00217 0.03890.00221 0.0390.0022 0.03910.00223 0.03920.00219 0.03930.0022 0.03940.00219 0.03950.00219 0.03960.00222 0.03970.0022 0.03980.00223 0.03990.00218 0.040.00222 0.04010.00216 0.04020.00219 0.04030.00215 0.04040.00217 0.04050.00215 0.04060.00216 0.04070.00213 0.04080.00214 0.04090.00211 0.0410.00211 0.04110.00213 0.04120.00211 0.04130.00215 0.04140.00212 0.04150.00217 0.04160.00217 0.04170.00218 0.04180.0022 0.04190.00217 0.0420.0022 0.04210.00216 0.04220.00221 0.04230.00215 0.04240.00218 0.04250.00215 0.04260.00215 0.04270.00216 0.04280.00215 0.04290.00215 0.0430.00214 0.04310.00217 0.04320.00215 0.04330.00218 0.04340.00215 0.04350.0022 0.04360.00215 0.04370.00219 0.04380.00215 0.04390.00218 0.0440.00216 0.04410.00217 0.04420.00216 0.04430.00216 0.04440.00215 0.04450.00217 0.04460.00219 0.04470.00217 0.04480.00216 0.04490.00219 0.0450.00215 0.04510.00219 0.04520.00215 0.04530.00219 0.04540.00217 0.04550.00218 0.04560.00217 0.04570.00215 0.04580.00216 0.04590.00217 0.0460.00219 0.04610.00216 0.04620.00223 0.04630.00219 0.04640.00221 0.04650.00223 0.04660.0022 0.04670.00224 0.04680.00219 0.04690.00226 0.0470.00219 0.04710.00226 0.04720.00221 0.04730.00223 0.04740.00219 0.04750.0022 0.04760.00219 0.04770.00219 0.04780.00218 0.04790.00216 0.0480.00216 0.04810.00217 0.04820.00215 0.04830.00211 0.04840.00215 0.04850.00214 0.04860.00212 0.04870.0021 0.04880.00217 0.04890.00212 0.0490.00214 0.04910.00214 0.04920.00215 0.04930.00215 0.04940.00218 0.04950.00217 0.04960.0022 0.04970.00219 0.04980.00223 0.04990.0022 0.050.0022 0.05010.0022 0.05020.00218 0.05030.00219 0.05040.00215 0.05050.00216 0.05060.00217 0.05070.00214 0.05080.00212 0.05090.00217 0.0510.00218 0.05110.00217 0.05120.00219 0.05130.00216 0.05140.0022 0.05150.00219 0.05160.0022 0.05170.00218 0.05180.00217 0.05190.00219 0.0520.00216 0.05210.00218 0.05220.00217 0.05230.00218 0.05240.00219 0.05250.00216 0.05260.00219 0.05270.0022 0.05280.00217 0.05290.00223 0.0530.00217 0.05310.0022 0.05320.00218 0.05330.00222 0.05340.0022 0.05350.00219 0.05360.00219 0.05370.00217 0.05380.0022 0.05390.00217 0.0540.00217 0.05410.00215 0.05420.00216 0.05430.00219 0.05440.00223 0.05450.00219 0.05460.00219 0.05470.00222 0.05480.0022 0.05490.00215 0.0550.00219 0.05510.00215 0.05520.00219 0.05530.00215 0.05540.00217 0.05550.00214 0.05560.00217 0.05570.00211 0.05580.00216 0.05590.00215 0.0560.00218 0.05610.00214 0.05620.00217 0.05630.00214 0.05640.00213 0.05650.00214 0.05660.00216 0.05670.00214 0.05680.00215 0.05690.00218 0.0570.00214 0.05710.00219 0.05720.00215 0.05730.00223 0.05740.00219 0.05750.00222 0.05760.0022 0.05770.00223 0.05780.00221 0.05790.00222 0.0580.00221 0.05810.0022 0.05820.00218 0.05830.00218 0.05840.00214 0.05850.00213 0.05860.00215 0.05870.00216 0.05880.00214 0.05890.00217 0.0590.0022 0.05910.00219 0.05920.00217 0.05930.00219 0.05940.00223 0.05950.00222 0.05960.00217 0.05970.00217 0.05980.0022 0.05990.00216 0.060.00217 0.06010.00217 0.06020.00214 0.06030.0022 0.06040.00215 0.06050.0022 0.06060.00215 0.06070.00219 0.06080.00215 0.06090.00219 0.0610.00219 0.06110.00217 0.06120.00215 0.06130.00217 0.06140.0022 0.06150.00217 0.06160.00214 0.06170.00217 0.06180.00219 0.06190.00213 0.0620.00218 0.06210.00214 0.06220.00216 0.06230.00215 0.06240.00208 0.06250.00209 0.06260.00211 0.06270.00214 0.06280.00215 0.06290.00213 0.0630.00217 0.06310.00213 0.06320.00217 0.06330.00213 0.06340.00215 0.06350.00214 0.06360.00214 0.06370.00215 0.06380.00212 0.06390.00215 0.0640.00215 0.06410.00215 0.06420.00216 0.06430.00216 0.06440.00215 0.06450.00217 0.06460.00215 0.06470.00218 0.06480.00216 0.06490.00219 0.0650.00219 0.06510.0022 0.06520.00221 0.06530.00219 0.06540.00222 0.06550.00217 0.06560.0022 0.06570.00217 0.06580.00219 0.06590.00215 0.0660.0022 0.06610.00215 0.06620.00219 0.06630.00215 0.06640.00216 0.06650.00215 0.06660.00215 0.06670.00213 0.06680.00217 0.06690.00213 0.0670.00219 0.06710.00215 0.06720.0022 0.06730.00215 0.06740.00219 0.06750.00217 0.06760.00214 0.06770.00216 0.06780.00216 0.06790.00215 0.0680.00216 0.06810.00214 0.06820.00215 0.06830.00215 0.06840.00217 0.06850.00214 0.06860.00217 0.06870.00216 0.06880.00218 0.06890.00217 0.0690.00214 0.06910.00216 0.06920.00215 0.06930.00217 0.06940.00213 0.06950.00211 0.06960.00214 0.06970.00214 0.06980.00213 0.06990.00212 0.070.00214 0.07010.00214 0.07020.00213 0.07030.00213 0.07040.00215 0.07050.00214 0.07060.00213 0.07070.00215 0.07080.00214 0.07090.00217 0.0710.00215 0.07110.00219 0.07120.00217 0.07130.00217 0.07140.00217 0.07150.00216 0.07160.00217 0.07170.00216 0.07180.0022 0.07190.00217 0.0720.00219 0.07210.00216 0.07220.00219 0.07230.00215 0.07240.00218 0.07250.00215 0.07260.00213 0.07270.00216 0.07280.00215 0.07290.00215 0.0730.00219 0.07310.00218 0.07320.00217 0.07330.00215 0.07340.00217 0.07350.00218 0.07360.00215 0.07370.00214 0.07380.00214 0.07390.00213 0.0740.00214 0.07410.00215 0.07420.00217 0.07430.00215 0.07440.00216 0.07450.00216 0.07460.00217 0.07470.00215 0.07480.00216 0.07490.00214 0.0750.00221 0.07510.00215 0.07520.00219 0.07530.00215 0.07540.00214 0.07550.00215 0.07560.00214 0.07570.00212 0.07580.00215 0.07590.00214 0.0760.00214 0.07610.00213 0.07620.00213 0.07630.00215 0.07640.00213 0.07650.00215 0.07660.00214 0.07670.00217 0.07680.00215 0.07690.00217 0.0770.00214 0.07710.00215 0.07720.00217 0.07730.00214 0.07740.00214 0.07750.00214 0.07760.00214 0.07770.00214 0.07780.00214 0.07790.00214 0.0780.00214 0.07810.00214 0.07820.00216 0.07830.00215 0.07840.00215 0.07850.00215 0.07860.00217 0.07870.00217 0.07880.00217 0.07890.00215 0.0790.00219 0.07910.00219 0.07920.00218 0.07930.0022 0.07940.00218 0.07950.0022 0.07960.00216 0.07970.00219 0.07980.00215
Answered Same DayDec 05, 2022

Answer To: Assignment Description: Please use MATLAB to write a program for curve fitting using the...

Baljit answered on Dec 05 2022
33 Votes
Given Equation
Matlab Code:-
clc;
clear all
close all
format long
data='book1.xlsx';
% Readin
g of data from xlxs file
D=xlsread(data);
t=D(:,1);
Id=D(:,2);
tt=0.001:0.0001:0.01;
%plot of original data in time range of 0.001 to 0.01
plot(tt,Id(11:101))
xlabel('time')
ylabel('Id')
hold on
nx=size(t,1);
% we...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here