MATLAB编程

MATLAB编程
分享
扫描下方二维码分享到微信
打开微信,点击右上角”+“,
使用”扫一扫“即可将网页分享到朋友圈。
作者:
出版社: 科学出版社
2011-03
版次: 4
ISBN: 9787030305428
定价: 58.00
装帧: 平装
开本: 16开
纸张: 胶版纸
页数: 392页
正文语种: 英语
原版书名: MATLAB Programming for Engineers
  • 《MATLAB编程(第4版)(影印版)》详细讲述了利用MATLAB解决典型技术问题的方法,包括自顶向下的程序设计方法、函数的使用、MATLAB内部工具的使用和数据结构、使用技巧和常见错误等。本书将MATLAB作为一种科技程序设计语言进行介绍,帮助读者编写出简洁、高效、组织良好的程序;同时,帮助读者使用MATLAB的扩展在线帮助功能来找到所需的函数。本书注重提高利用MATLAB解决实际问题的能力,有利于为读者将来的学习与研究工作打下良好的基础。 CHAPTER1IntroductiontoMATLAB
    1.1TheAdvantagesofMATLAB
    1.2DisadvantagesofMATLAB
    1.3TheMATLABEnvironment
    1.3.1TheMATLABDesktop
    1.3.2TheCommandWindow
    1.3.3TheCommandHistoryWindow
    1.3.4TheStartButton
    1.3.5TheEdit/DebugWindow
    1.3.6FigureWindows
    1.3.7DockingandUnd0ckingWindows
    1.3.8TheMATLABWorkspace
    1.3.9TheWorkspaceBrowser
    1.3.10GettingHelp
    1.3.11AFewImportantCommands
    1.3.12TheMATLABSearch'Path
    1.4UsingMATLABasaScratchPad
    1.5Summary
    1.5.1MATLABSummary
    1.6Exercises
    CHAPTER2MATLABBasics
    2.1VariablesandArrays
    2.2CreatingandInitializingVariablesinMATLAB
    2.2.1InitializingVariablesinAssignmentStatements
    2.2.2InitializingwithShortcutExpressio
    2.2.3InitializingwithBuilt-InFunctio
    2.2.4InitializingVariableswithKeyboardInput
    2.3MultidimeionalArrays
    2.3.1StoringMultidimeionalArraysinMemory
    2.3.2AccessingMultidimeionalArrayswithOneDimeion
    2.4Subarrays
    2.4.1TheendFunction
    2.4.2UsingSubarraysontheLeft-HandSideofanAssignmentStatement
    2.4.3AssigningaScalartoaSubarray
    2.5SpecialValues
    2.6DisplayingOutputData
    2.6.1ChangingtheDefaultFormat
    2.6.2Thedispfunction
    2.6.3FormattedOutputwiththefprintfFunction
    2.7DataFiles
    2.8ScalarandArrayOperatio
    2.8.1ScalarOperatio
    2.8.2ArrayandMatrixOperatio
    2.9HierarchyofOperatio
    2.10Built-inMATLABFunctio
    2.10.1OptionalResults
    2.10.2UsingMATLABFunctiowithArrayInputs
    2.10.3CommonMATLABFunctio
    2.11IntroductiontoPlotting
    2.11.1UsingSimplexyPlots
    2.11.2PrintingaPlot
    2.11.3ExportingaPlotasaGraphicImage
    2.11.4MultiplePlots
    2.11.5LineColor,LineStyle,MarkerStyle,andLegends
    2.11.6LogarithmicScales
    2.12Examples
    2.13DebuggingMATLABPrograms
    2.14Summary
    2.14.1SummaryofGoodProgrammingPractice
    2.14.2MATLABSummary
    2.15Exercises
    CHAPTER3BranchingStatementsandProgramDesign
    3.1IntroductiontoTop-DownDesignTechniques
    3.2UseofPseudocode
    3,3TheLogicalDataType
    3.3.1RelationalOperato
    3.3.2ACautionAboutthe==and=Operato
    3.3.3LogicOperato
    3.3.4LogicalFunctio
    3.4Branches
    3.4.1The,ifCotruct
    3.4.2ExamplesUs.ingif.Cotructs
    3.4.3NotesConcerningtheUseofifCotructs
    3.4.4TheswitchCotruct
    3.4.5Thetry/catchCotruc!
    3.5AdditionalPlottingFeatures
    3.5.1Controllingx-andy-AxisPlottingLimits
    3.5.2PlottingMultiplePlotsontheSameAxes
    3.5.3CreatingMultipleFigures
    3.514Subplots
    3.5.5EnhancedControlofPlottedLines
    3.5.6EnhancedControlofTextStrings
    3.5.7PolarPlots
    3.5.8AnnotatingandSavingPlots
    3.6MoreonDebuggingMATLABPrograms
    3.7Summary
    3.7.1SummaryofGood,ProgrammingPractice
    3.7.2MATLABSummary
    3.8Exercises
    CHAPTER4Loops
    4.1ThewhileLoop
    4.2TheforLoop
    4.2.1DetailsofOperation
    4.2.2TheMATLABJust-in-Time(JIT)Compiler
    4.2.3ThebreakandcontinueStatements
    4.2.4NestingLoops
    4.3LogicalArraysandVectorization
    4.3.1CreatingtheEquivalentofif/elseCotructswithLogicalArrays
    4.4TheMATLABProfiler
    4.5AdditionalExamples
    4.6Summary
    4.6.1SummaryofGoodProgrammingPractice
    4.6.2MATLABSummary
    4.7Exercises
    CHAPTER5User-DefinedFunctio
    5.1IntroductiontoMATLABFunctio
    5.2VariablePassinginMATLAB:ThePass-by-ValueScheme
    5.3OptionalArguments
    5.4SharingDataUsingGlobalMemory
    5.5PreservingDatabetweenCallstoaFunction
    5.6FunctionFunctio
    5.7Subfunctio,PrivateFunctio,andNestedFunctio
    5.7.1Subfunctio
    5.7.2PrivateFunctio
    5.7.3NestedFunctio
    5.7.4OrderofFunctionEvaluation
    5.8Summary
    5.8.1SummaryofGoodProgrammingPractice
    5.8.2MATLABSummary
    5.9Exercises
    CHAPTER6AdditionalDataTypesandPlotTypes
    6.1ComplexData
    6.1.1ComplexVariables
    6.1.2UsingComplexNumbewithRelationalOperato
    6.1.3ComplexFunctio
    6.1.4PlottingComplexData
    6.2StringFunctio
    6.2.1StringConveionFunctio
    6.2.2CreatingTwo-DimeionalCharacterArrays
    6.2.3ConcatenatingStrings
    6.2.4ComparingStrings
    6.2.5SearchingandReplacingCharactewithinaString
    6.2.6UppercaseandLowercaseConveion
    6.2.7TrimmingWhitespacefromStrings
    6.2.8Numeric-to-StringConveio
    6.2.9String-to-Nume.ficConveio
    6.2.10Summary
    6.3MultidimeionalArrays
    6.4AdditionalDataTypes
    6.4.1ThesingleDataType
    6.4.2IntegerDataTypes
    6.4.3Limitatioofthes2ngleandIntegerDataTypes
    6.5AdditionalTwo-DimeionalPlots
    6.5.1AdditionalTypesofTwo-DimeionalPlots
    6.5.2PlottingFunctio
    6.5.3Histograms
    6.6Three-DimeionalPlots
    6.6.1Three-DimeionalLinePlots
    6.6.2Three-DimeionalSurface,Mesh,andContourPlots
    6.7Summary
    6.7.1SummaryofGoodProgrammingPractice
    6.7.2MATLABSummary
    6.8Exercises
    CHAPTER7AdvancedFeatures:SpaeArrays,CellArrays,
    Structures,andFunctionHandles
    7.1SpaeArrays
    7.1.1ThespaeAttribute
    7.2CellArrays
    7.2.1CreatingCellArrays
    7.2.2UsingBraces{}asCellCotructo
    7.2.3ViewingtheContentsofCellArrays
    7.2.4ExtendingCellArrays
    7.2.5DeletingCellsinArrays
    7.2.6UsingDatainCellArrays
    7.2.7CellArraysofStrings
    7.2.8TheSignificanceofCellArrays
    7.2.9SummaryofcellFunctio
    7.3StructureArrays
    7.3.1CreatingStructureArrays
    7.3.2AddingFieldstoStructures
    7.3.3RemovingFieldsfromStructures
    7.3.4UsingDatainStructureArrays
    7.3.5ThegetfieldandsetfieldFunctio
    7.3.6DynamicFieldNames
    7.3.7UsingthesizeFunctionwithStructureArrays
    7.3.8NestingStructureArrays
    7.3.9SummaryofstructureFunctio
    7.4FunctionHandles
    7.4.1CreatingandUsingFunctionHandles
    7.4.2TheSignificanceofFunctionHandles
    7.4.3FunctionHandles,andNestedFunctio
    7.4.4AnExampleApplication:SolvingOrdinaryDifferentialEquatio
    7.5Summary
    7.5.1SummaryofGoodProgrammingPractice
    7.5.2MATLABSummary
    7.6Exercises
    3HAPTER8Input/OutputFunctio
    8.1ThetextreadFunction
    8.2MoreabouttheloadandsaveCommands
    8.3AnIntroductiontoMATLABFileProcessing
    8.4FileOpeningandClosing
    8.4.1ThefopenFunction
    8.4.2ThefcloseFunction
    8.5BinaryI/OFunctio
    8.5.1ThefwriteFunction
    8.5.2ThefreadFunctiop
    8.6FormattedI/OFunctio
    8.6.1ThefprintfFunction
    8.6.2UndetandingFormatConveionSpecifie
    8.6.3HowFormatStringsAreUsed
    8.6.4ThesprintfFunction
    8.6.5ThefscanfFunction
    8.6.6ThefgetlFunction
    8.6.7ThefgetsFunction
    8.7ComparingFormattedandBinaryI/OFunctio
    8.8FilePositioningandStatusFunctio
    8.8.1TheexistFunction
    8.8.2TheferrorFunction
    8.8.3ThefeofFunction
    8.8.4TheftellFunction
    8.8.5ThefrewindFunction
    8.8.6ThefseekFunction
    8.9ThetextscanFunction
    8.10Functionuiimport
    8.11Summary
    8.11.1SummaryofGoodProgrammingPractice
    8.11.2MATLABSummary
    8.12Exercises
    CHAPTER9HandleGraphics
    9.1TheMATLABGraphicsSystem
    9.2ObjectHandles
    9.3ExaminingandChangingObjectProperties
    9.3.1ChangingObjectPropertiesatCreationTime
    9.3.2ChangingObjectPropertiesafterCreationTime
    9.4UsingsettoListPossiblePropertyValues
    9.5User-DefinedData
    9.6FindingObjects
    9.7SelectingObjectswiththeMouse
    9.8PositionandUnits
    9.8,1PositiooffigureObjects
    9.8.2PositioofaxesanduicontrolObjects
    9.8.3PositiooftextObjects
    9.9PrinterPositio
    9.10DefaultandFactoryProperties
    9.11GraphicsObjectProperties
    9.12Summary
    9.12.1SummaryofGoodProgrammingPractice
    9.12.2MATLABSummary
    9.13Exercises
  • 内容简介:
    《MATLAB编程(第4版)(影印版)》详细讲述了利用MATLAB解决典型技术问题的方法,包括自顶向下的程序设计方法、函数的使用、MATLAB内部工具的使用和数据结构、使用技巧和常见错误等。本书将MATLAB作为一种科技程序设计语言进行介绍,帮助读者编写出简洁、高效、组织良好的程序;同时,帮助读者使用MATLAB的扩展在线帮助功能来找到所需的函数。本书注重提高利用MATLAB解决实际问题的能力,有利于为读者将来的学习与研究工作打下良好的基础。
  • 目录:
    CHAPTER1IntroductiontoMATLAB
    1.1TheAdvantagesofMATLAB
    1.2DisadvantagesofMATLAB
    1.3TheMATLABEnvironment
    1.3.1TheMATLABDesktop
    1.3.2TheCommandWindow
    1.3.3TheCommandHistoryWindow
    1.3.4TheStartButton
    1.3.5TheEdit/DebugWindow
    1.3.6FigureWindows
    1.3.7DockingandUnd0ckingWindows
    1.3.8TheMATLABWorkspace
    1.3.9TheWorkspaceBrowser
    1.3.10GettingHelp
    1.3.11AFewImportantCommands
    1.3.12TheMATLABSearch'Path
    1.4UsingMATLABasaScratchPad
    1.5Summary
    1.5.1MATLABSummary
    1.6Exercises
    CHAPTER2MATLABBasics
    2.1VariablesandArrays
    2.2CreatingandInitializingVariablesinMATLAB
    2.2.1InitializingVariablesinAssignmentStatements
    2.2.2InitializingwithShortcutExpressio
    2.2.3InitializingwithBuilt-InFunctio
    2.2.4InitializingVariableswithKeyboardInput
    2.3MultidimeionalArrays
    2.3.1StoringMultidimeionalArraysinMemory
    2.3.2AccessingMultidimeionalArrayswithOneDimeion
    2.4Subarrays
    2.4.1TheendFunction
    2.4.2UsingSubarraysontheLeft-HandSideofanAssignmentStatement
    2.4.3AssigningaScalartoaSubarray
    2.5SpecialValues
    2.6DisplayingOutputData
    2.6.1ChangingtheDefaultFormat
    2.6.2Thedispfunction
    2.6.3FormattedOutputwiththefprintfFunction
    2.7DataFiles
    2.8ScalarandArrayOperatio
    2.8.1ScalarOperatio
    2.8.2ArrayandMatrixOperatio
    2.9HierarchyofOperatio
    2.10Built-inMATLABFunctio
    2.10.1OptionalResults
    2.10.2UsingMATLABFunctiowithArrayInputs
    2.10.3CommonMATLABFunctio
    2.11IntroductiontoPlotting
    2.11.1UsingSimplexyPlots
    2.11.2PrintingaPlot
    2.11.3ExportingaPlotasaGraphicImage
    2.11.4MultiplePlots
    2.11.5LineColor,LineStyle,MarkerStyle,andLegends
    2.11.6LogarithmicScales
    2.12Examples
    2.13DebuggingMATLABPrograms
    2.14Summary
    2.14.1SummaryofGoodProgrammingPractice
    2.14.2MATLABSummary
    2.15Exercises
    CHAPTER3BranchingStatementsandProgramDesign
    3.1IntroductiontoTop-DownDesignTechniques
    3.2UseofPseudocode
    3,3TheLogicalDataType
    3.3.1RelationalOperato
    3.3.2ACautionAboutthe==and=Operato
    3.3.3LogicOperato
    3.3.4LogicalFunctio
    3.4Branches
    3.4.1The,ifCotruct
    3.4.2ExamplesUs.ingif.Cotructs
    3.4.3NotesConcerningtheUseofifCotructs
    3.4.4TheswitchCotruct
    3.4.5Thetry/catchCotruc!
    3.5AdditionalPlottingFeatures
    3.5.1Controllingx-andy-AxisPlottingLimits
    3.5.2PlottingMultiplePlotsontheSameAxes
    3.5.3CreatingMultipleFigures
    3.514Subplots
    3.5.5EnhancedControlofPlottedLines
    3.5.6EnhancedControlofTextStrings
    3.5.7PolarPlots
    3.5.8AnnotatingandSavingPlots
    3.6MoreonDebuggingMATLABPrograms
    3.7Summary
    3.7.1SummaryofGood,ProgrammingPractice
    3.7.2MATLABSummary
    3.8Exercises
    CHAPTER4Loops
    4.1ThewhileLoop
    4.2TheforLoop
    4.2.1DetailsofOperation
    4.2.2TheMATLABJust-in-Time(JIT)Compiler
    4.2.3ThebreakandcontinueStatements
    4.2.4NestingLoops
    4.3LogicalArraysandVectorization
    4.3.1CreatingtheEquivalentofif/elseCotructswithLogicalArrays
    4.4TheMATLABProfiler
    4.5AdditionalExamples
    4.6Summary
    4.6.1SummaryofGoodProgrammingPractice
    4.6.2MATLABSummary
    4.7Exercises
    CHAPTER5User-DefinedFunctio
    5.1IntroductiontoMATLABFunctio
    5.2VariablePassinginMATLAB:ThePass-by-ValueScheme
    5.3OptionalArguments
    5.4SharingDataUsingGlobalMemory
    5.5PreservingDatabetweenCallstoaFunction
    5.6FunctionFunctio
    5.7Subfunctio,PrivateFunctio,andNestedFunctio
    5.7.1Subfunctio
    5.7.2PrivateFunctio
    5.7.3NestedFunctio
    5.7.4OrderofFunctionEvaluation
    5.8Summary
    5.8.1SummaryofGoodProgrammingPractice
    5.8.2MATLABSummary
    5.9Exercises
    CHAPTER6AdditionalDataTypesandPlotTypes
    6.1ComplexData
    6.1.1ComplexVariables
    6.1.2UsingComplexNumbewithRelationalOperato
    6.1.3ComplexFunctio
    6.1.4PlottingComplexData
    6.2StringFunctio
    6.2.1StringConveionFunctio
    6.2.2CreatingTwo-DimeionalCharacterArrays
    6.2.3ConcatenatingStrings
    6.2.4ComparingStrings
    6.2.5SearchingandReplacingCharactewithinaString
    6.2.6UppercaseandLowercaseConveion
    6.2.7TrimmingWhitespacefromStrings
    6.2.8Numeric-to-StringConveio
    6.2.9String-to-Nume.ficConveio
    6.2.10Summary
    6.3MultidimeionalArrays
    6.4AdditionalDataTypes
    6.4.1ThesingleDataType
    6.4.2IntegerDataTypes
    6.4.3Limitatioofthes2ngleandIntegerDataTypes
    6.5AdditionalTwo-DimeionalPlots
    6.5.1AdditionalTypesofTwo-DimeionalPlots
    6.5.2PlottingFunctio
    6.5.3Histograms
    6.6Three-DimeionalPlots
    6.6.1Three-DimeionalLinePlots
    6.6.2Three-DimeionalSurface,Mesh,andContourPlots
    6.7Summary
    6.7.1SummaryofGoodProgrammingPractice
    6.7.2MATLABSummary
    6.8Exercises
    CHAPTER7AdvancedFeatures:SpaeArrays,CellArrays,
    Structures,andFunctionHandles
    7.1SpaeArrays
    7.1.1ThespaeAttribute
    7.2CellArrays
    7.2.1CreatingCellArrays
    7.2.2UsingBraces{}asCellCotructo
    7.2.3ViewingtheContentsofCellArrays
    7.2.4ExtendingCellArrays
    7.2.5DeletingCellsinArrays
    7.2.6UsingDatainCellArrays
    7.2.7CellArraysofStrings
    7.2.8TheSignificanceofCellArrays
    7.2.9SummaryofcellFunctio
    7.3StructureArrays
    7.3.1CreatingStructureArrays
    7.3.2AddingFieldstoStructures
    7.3.3RemovingFieldsfromStructures
    7.3.4UsingDatainStructureArrays
    7.3.5ThegetfieldandsetfieldFunctio
    7.3.6DynamicFieldNames
    7.3.7UsingthesizeFunctionwithStructureArrays
    7.3.8NestingStructureArrays
    7.3.9SummaryofstructureFunctio
    7.4FunctionHandles
    7.4.1CreatingandUsingFunctionHandles
    7.4.2TheSignificanceofFunctionHandles
    7.4.3FunctionHandles,andNestedFunctio
    7.4.4AnExampleApplication:SolvingOrdinaryDifferentialEquatio
    7.5Summary
    7.5.1SummaryofGoodProgrammingPractice
    7.5.2MATLABSummary
    7.6Exercises
    3HAPTER8Input/OutputFunctio
    8.1ThetextreadFunction
    8.2MoreabouttheloadandsaveCommands
    8.3AnIntroductiontoMATLABFileProcessing
    8.4FileOpeningandClosing
    8.4.1ThefopenFunction
    8.4.2ThefcloseFunction
    8.5BinaryI/OFunctio
    8.5.1ThefwriteFunction
    8.5.2ThefreadFunctiop
    8.6FormattedI/OFunctio
    8.6.1ThefprintfFunction
    8.6.2UndetandingFormatConveionSpecifie
    8.6.3HowFormatStringsAreUsed
    8.6.4ThesprintfFunction
    8.6.5ThefscanfFunction
    8.6.6ThefgetlFunction
    8.6.7ThefgetsFunction
    8.7ComparingFormattedandBinaryI/OFunctio
    8.8FilePositioningandStatusFunctio
    8.8.1TheexistFunction
    8.8.2TheferrorFunction
    8.8.3ThefeofFunction
    8.8.4TheftellFunction
    8.8.5ThefrewindFunction
    8.8.6ThefseekFunction
    8.9ThetextscanFunction
    8.10Functionuiimport
    8.11Summary
    8.11.1SummaryofGoodProgrammingPractice
    8.11.2MATLABSummary
    8.12Exercises
    CHAPTER9HandleGraphics
    9.1TheMATLABGraphicsSystem
    9.2ObjectHandles
    9.3ExaminingandChangingObjectProperties
    9.3.1ChangingObjectPropertiesatCreationTime
    9.3.2ChangingObjectPropertiesafterCreationTime
    9.4UsingsettoListPossiblePropertyValues
    9.5User-DefinedData
    9.6FindingObjects
    9.7SelectingObjectswiththeMouse
    9.8PositionandUnits
    9.8,1PositiooffigureObjects
    9.8.2PositioofaxesanduicontrolObjects
    9.8.3PositiooftextObjects
    9.9PrinterPositio
    9.10DefaultandFactoryProperties
    9.11GraphicsObjectProperties
    9.12Summary
    9.12.1SummaryofGoodProgrammingPractice
    9.12.2MATLABSummary
    9.13Exercises
查看详情
12
您可能感兴趣 / 更多
系列丛书 / 更多
相关图书 / 更多