MatlabPARAFAC运行办法.pdf

上传人:b****1 文档编号:3175577 上传时间:2022-11-19 格式:PDF 页数:6 大小:350.18KB
下载 相关 举报
MatlabPARAFAC运行办法.pdf_第1页
第1页 / 共6页
MatlabPARAFAC运行办法.pdf_第2页
第2页 / 共6页
MatlabPARAFAC运行办法.pdf_第3页
第3页 / 共6页
MatlabPARAFAC运行办法.pdf_第4页
第4页 / 共6页
MatlabPARAFAC运行办法.pdf_第5页
第5页 / 共6页
点击查看更多>>
下载资源
资源描述

MatlabPARAFAC运行办法.pdf

《MatlabPARAFAC运行办法.pdf》由会员分享,可在线阅读,更多相关《MatlabPARAFAC运行办法.pdf(6页珍藏版)》请在冰豆网上搜索。

MatlabPARAFAC运行办法.pdf

Appendix1:

TutorialCharacterizingDOMfluorescenceusingtheDOMFluorToolboxforMATLABInthissectionabrieftutorialinapplyingPARAFACtoDOMfluorescenceEEMswillbegivenwithrecommendationsonasuitableseriesofstagestofollowinordertofacilitatetheprocessbasedontheauthorsownexperience.ThetutorialisbasedonMATLABsoftwareandrequiresthatthisisinstalledonyourcomputer.TheDOMFluortoolboxforMATLABpro-videdisinthecompressedfile“DOMFluorv1_4.zip”(Appen-dix1)andworksindependentofyourcomputersoperatingsystem.ThisisalsofreelydownloadablefromtheChemomet-ricssiteatUniversityofCopenhagen(www.models.life.ku.dk).ThetoolboxcontainswithinittheN-Waytoolboxv.3.1(AndersonandBro,2000)andadditionalfunctionswhichfacilitaterunningPARAFAConDOMfluorescencedata.TheDOMFluortoolboxiswrittenandtestedinMATLABrelease2007b(v7.5)andisfreesoftwarethatcanbeusedandmodi-fiedunderthetermsoftheGNUGeneralPublicLicense.Withinthetoolboxatestdatasetisprovidedforthetutorial,consistingof65EEMswhichhavebeenspectrallycorrectedforinstrumentbiases,correctedforinnerfiltereffectsandRamancalibrated.Asaresult,alloftheRayleighscatterandmostoftheRamanscatterhasbeenremoved.Theremainingscatterwillberemovedinthepre-processingphase.ThedataconsistsofsamplescollectedfromacruiseonRVGunnarThorsonintheKattegatandBeltSearegion(attheentrancetotheBalticSea)inAugust2001.Three“outlier”sampleswerecreatedandarepresentinthedataforthebenefitofthetutorial.Thetutorialiscomposedofphases;i)datapre-processing,ii)initialexplorativedataanalysis,iii)modelingandmodelvalidation,iv)interpretingresults.Themorethoroughlythefirsttwophasesarecarriedout,theeasierthelattertwowillbe.Partofthepre-processingontheexampledatasethasalreadybeencarriedout(importingthedatatoMATLAB,spec-tralcorrections,calibrations,etc.).Thisisveryinstrumentspe-cificandthereforenotappropriateforthistutorial,whichfocusonthemodelingofthedata.DuringthistutorialanystatementstobewritteninMAT-LABwillbewritteningreenwithCourierNewfont.WhenwritingintheCommandWindow,notethatMATLABiscasesensitive.A.SettingupMATLABtorunwithN-waytoolboxandDOMFluortoolbox.1.DecideonasensibleplacetolocatetheDOMFluortoolboxonyourcomputer.(Thiscould,forexample,beC:

ProgramFilesMATLABR2007btoolboxbutcanalsobeelsewhere).CreateafolderandnameitDOMFluor.Extractthecontentsofthezipfile“DOM-Fluor.zip”intotheDOMFluorfolder.2.StartMATLAB.SelectFilemenuthenclickSetpath.ClickAddwithsubfoldersandlocatetheDOMFluorfolderyoucreatedinStep1above.IftheN-Waytool-boxiscurrentlyinstalled,removeitfromthePathlisttoavoidconflicts.TheN-WaytoolboxisincludedaspartoftheDOMFluortoolbox.ClickSavethenClose.YouhavenowassociatedtheDOMFluortool-boxwithMATLABandthismeansthatthefunctionsinthesefolderscanberecognized.3.TocheckthatthetoolboxesarecorrectlyassociatedyoucantypeDOMFluorandpressenterintheCommandWindowinMATLAB.If“Yes”isprintedtotheCommandWindow,thetool-boxisinstalled.Ifredtextappearsthetoolboxhasnotbeencorrectlyinstalled.RedoStep2.Notethatifyouhaveothertoolboxeswithsimilarlynamedfunctions,onlythefunctionupmostinthefolder-listwillworkproperly.4.SectionAwillhavetoberepeatedifanewversionofMATLABisinstalled.B.LoadingthetutorialdataandplottingtheEEMs.1.TypeloadPARAFACexample.matintheCommandWindow.ThiswillloadthetutorialdataintotheMATLABWorkspace.ThisconsistsofadatastructurecalledOriginalData.TrytypingOriginalDataCharacterizingdissolvedorganicmatterfluorescencewithparal-lelfactoranalysis:

atutorialColinA.Stedmon1*andRasmusBro21DepartmentofMarineEcology,NationalEnvironmentalResearchInstitute,AarhusUniversity,Frederiksborgvej399,Roskilde,Denmark2Dept.FoodScience,FacultyofLifeSciences,UniversityCopenhagen,Rolighedsvej30,DK-1958,Frederiksberg,Denmark*Correspondingauthore-mail:

cstdmu.dk,Tel:

+4546301805.Limnol.Oceanogr.:

Methods6,20082008,bytheAmericanSocietyofLimnologyandOceanography,Inc.inthecommandwindow.Thiswilloutputthefollowing:

Thisdetailsthedatathatiscontainedwithinthedatastructure.i.Ex-isalistoftheexcitationwavelengthsmea-sured(innm).Inthiscase240to450every5nm.ii.Em-isalistoftheemissionwavelengthsmea-sured(innm).Inthiscase300to600every2nm.iii.X-isthefluorescencedataasathreedimen-sionalarray(65samplesx151emissionwave-lengthsx43excitationwavelengths).iv.nSample,nExandnEm:

statethenumberofsamples,excitationandemissionwavelengths.v.XBackup-isabackupcopyofthedataandnotusedinthetutorial.2.NowwewillplottheEEMstocheckthatthedataiscorrectlyloaded.Inthetoolboxthereareseveralfunc-tionsthatcanbeu

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 考试认证 > IT认证

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1