- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
scilab语法、函数及命令介绍(Introduction to Scilab syntax, functions, and commands)
scilab语法、函数及命令介绍(Introduction to Scilab syntax, functions, and commands)
I. Introduction
01.Scilab is an integrated development environment that uses command statements. Multiple command statements can be saved in a file, called scripts for this integrated environment program
The file includes extensions called.Sce and.Sci, the former representing executable files, and the latter representing files containing defined functions.
02.Scilab contains an independent programming command language with its own command syntax.
Variables in 03.Scilab can be used directly without the need to declare. There are 2 main variables: string variables and numeric variables; among them, numeric variables are matrix types,
Its operations are matrix operations and, of course, can be used to perform general operations with their individual elements. 2 types of variables do not perform arithmetic operations.
Strictly speaking, variables in Scilab have no type, that is, there are no variable type identifiers, such as int, float, etc. in C++
4, because the Scilab statement is imperative, it is flexible, but there is no corresponding comment when calling variables or functions.
There is no semicolon at the back of the 5 statement, and the return statement will give the possible value of the statement
Two, variable assignment
1 string variable: data = string;
Where data is the variable name, and string is the assigned string, which determines whether the variable is string type.
Note: double strings are no different from single quotes when strings are used; strings can be added
2 direct assignment 1:data = 1;
Where data is the surface name, and 1 is its value, which determines that the variable is a numeric type.
Since the numeric variables in Scilab are matrix types, data is actually a matrix of 1 rows and 1 columns.
3 direct assignment 2:data = {a11,... A1B,...; Aa1,..., aab};
Where data is the matrix type, and AXX is its element, which can be both numeric variables and string variables, wi
您可能关注的文档
- 2013高考物理一轮复习课件(人教版选修3-1):第八章第三单元 第5课时实验:测定电源电动势与内阻.ppt
- 2信号分析和处理.ppt
- 2平均电动势求法.ppt
- 2定理当两个三角形两条边和其夹角分别对应相等时.ppt
- 2糖类测定.ppt.ppt
- 2第二章金属材料组织和性能控制——2金属塑性加工_927101034.ppt
- 2广告大众文化因子.ppt
- 2求积仪认识与使用.doc
- 3-1、1.1电荷和其守恒定律、库仑定律导学案.doc
- 3,第三讲接触镜验配.ppt
- sci、中文核心期刊与高校科研论文水平的评价 - 经济学论文 - 经济学家(SCI, Chinese core journals and the level of scientific research papers in Universities - economics papers - economists).doc
- scl鱼原创 注音符号 自学(SCL fish original phonetic symbols learning).doc
- scilab命令(Scilab command).doc
- s60v3手机蓝牙共享pc宽带上网(S60v3 mobile phone, Bluetooth sharing, PC broadband Internet access).doc
- re-crystallization techniques(重结晶技术).doc
- scm-mcu-soc单片机的发展历史(The development history of scm-mcu-soc microcontroller).doc
- SAI快捷键与笔.doc
- scm应用语团队开发优势(SCM application team development advantage).doc
- sc变形虫(SC amoeba).doc
- sdh与pdh传送网词汇(SDH and PDH Transport Network Vocabulary).doc
最近下载
- 2025年新疆投资发展集团有限责任公司人员招聘笔试备考题库带答案详解(名师推荐).docx
- 在线网课学习课堂《临床伦理与科研道德(山东大学)》单元测试考核答案.docx VIP
- 浅谈直驱风力发电机组偏航异响原因分析及结构优化.pdf VIP
- 商务与经济统计(原书第14版)Ch11.pptx VIP
- 化工厂安全考试题.doc VIP
- 大学生女性健康科普知识讲座幻灯片.ppt
- 《阿Q正传》课件63张.pptx VIP
- 渥太华自伤量表.docx VIP
- 【2025年新版交规题库】2025年版12123学法减分题库(学法减分300题).docx
- 商务与经济统计(原书第14版)Ch16.pptx VIP
文档评论(0)