{"title":"附录E: MATLAB®代码示例","authors":"S. Bilbao","doi":"10.1002/9780470749012.APP1","DOIUrl":null,"url":null,"abstract":"In this appendix, various simple code fragments are provided. All can be viewed as prototypes for physical modeling sound synthesis. The coding style reflects something of a compromise between efficiency, on the one hand, and brevity and intelligibility, on the other. The choice of Matlab as a programming environment definitely reflects the latter sensibility, though the use of Matlab as an actual synthesis engine is not recommended. Some of these examples make use of constructs and features which need not appear in a code fragment intended for synthesis, including various calls to plotting functions, as well as the demonstration of energy conservation in some cases. It should be clear, in all cases, which elements of these examples may be neglected in an actual implementation. For the sake of brevity, these examples are too crude for actual synthesis purposes, but many features, discussed at various points in the texts and exercises, may be added.","PeriodicalId":114635,"journal":{"name":"Power Systems Electromagnetic Transients Simulation","volume":"87 21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-10-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Appendix E: MATLAB® code examples\",\"authors\":\"S. Bilbao\",\"doi\":\"10.1002/9780470749012.APP1\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this appendix, various simple code fragments are provided. All can be viewed as prototypes for physical modeling sound synthesis. The coding style reflects something of a compromise between efficiency, on the one hand, and brevity and intelligibility, on the other. The choice of Matlab as a programming environment definitely reflects the latter sensibility, though the use of Matlab as an actual synthesis engine is not recommended. Some of these examples make use of constructs and features which need not appear in a code fragment intended for synthesis, including various calls to plotting functions, as well as the demonstration of energy conservation in some cases. It should be clear, in all cases, which elements of these examples may be neglected in an actual implementation. For the sake of brevity, these examples are too crude for actual synthesis purposes, but many features, discussed at various points in the texts and exercises, may be added.\",\"PeriodicalId\":114635,\"journal\":{\"name\":\"Power Systems Electromagnetic Transients Simulation\",\"volume\":\"87 21 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-10-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Power Systems Electromagnetic Transients Simulation\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1002/9780470749012.APP1\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Power Systems Electromagnetic Transients Simulation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1002/9780470749012.APP1","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
In this appendix, various simple code fragments are provided. All can be viewed as prototypes for physical modeling sound synthesis. The coding style reflects something of a compromise between efficiency, on the one hand, and brevity and intelligibility, on the other. The choice of Matlab as a programming environment definitely reflects the latter sensibility, though the use of Matlab as an actual synthesis engine is not recommended. Some of these examples make use of constructs and features which need not appear in a code fragment intended for synthesis, including various calls to plotting functions, as well as the demonstration of energy conservation in some cases. It should be clear, in all cases, which elements of these examples may be neglected in an actual implementation. For the sake of brevity, these examples are too crude for actual synthesis purposes, but many features, discussed at various points in the texts and exercises, may be added.