龙空技术网

小杨研学(2)-了解Matlab软件

LearningYard学苑 109

前言:

而今咱们对“matlab can”大约比较注意,小伙伴们都需要了解一些“matlab can”的相关知识。那么小编也在网摘上搜集了一些有关“matlab can””的相关文章,希望我们能喜欢,大家一起来学习一下吧!

分享兴趣,传播快乐

增长见闻,留下美好

亲爱的您,这里是LearningYard学苑。

本期推文将从思维导图、精读内容、知识补充三个方面,

带您了解Matlab软件,欢迎您的访问!

本期推文阅读时长大约5分钟,请您耐心阅读。

Share interest , spread happiness

oncrease knowledge , and leave beauty

Dear you , this is the LearningYard Academy !

This issue will introduce you to Matlab software

from three aspects :

mind mapping, intensive reading content, and knowledge supplement

Welcome to visit !

This issue usually takes about 5 minutes,

Please be patient and read.

1、思维导图

2、精读内容

2.1 什么是Matlab

2.2 Matlab的基本构成与运算

Matlab的基本构成结构是菜单/工具栏、命令行窗口、工作区。其中最重要的区域是命令行窗口,它是用户输入各种指令,函数,表达式等的区域。在Matlab命令窗口中运行的所有命令都共享一个相同的工作空间,所以它们共享所有的变量。Matlab可以运行基本的四则运算及矩阵运算,其运算符号分别为+,-,*,/,^(平方)。值得注意的是Matlab也符合四则运算的基本法则:先加减后乘除,所以在输入公式时需要加上括号来区别。

2.2 The Basic Composition and Operations of Matlab

The basic structure of Matlab is menu/toolbar, command line window, and workspace. The most important area is the command line window, which is the area where users input various instructions, functions, expressions, etc. All commands running in the Matlab command window share the same workspace, so they share all variables. Matlab can run basic Elementary arithmetic and matrix operations, with the operation symbols of+, -, *,/, ^ (square). It is worth noting that Matlab also conforms to the basic rule of Elementary arithmetic: add and subtract first, then multiply and divide, so you need to add parentheses when entering formulas to distinguish.

2.3 Matlab的矩阵运算

Matlab的矩阵需要变量来代替,输入方法为[]内每一行的数字由空格隔开,行与行之间由分号隔开,例如A=[1 2 3 ;4 5 6;7 8 9],这样显示出来就是三行三列的矩阵。矩阵间的加,乘,除都是用变量和符号来代替的。

2.3 Matlab Matrix Operations

Matlab's matrix requires variables to replace it. The input method is to separate the numbers in each row within [] with spaces, and separate the rows with semicolons. For example, A=[1 2 3; 4 5 6; 7 8 9], which displays a matrix with three rows and three columns. The addition, multiplication, and division between matrices are all replaced by variables and symbols.

3、知识补充

有些符号是Matlab系统自己定义的,如果给与其其他的字符串,它便失去了本身的意义。如cos(4)=-0.6536。但是如果输入cos='amazing',此时cos(4)=z。这些符号也被系统成为keyword。

3、Knowledge supplementation

Some symbols are defined by the Matlab system itself, and if given other strings, they lose their meaning. For example, cos (4)=-0.6536. But if you enter cos='amazing', then cos (4)=z. These symbols are also systematically referred to as keywords.

基本的keyword:

pi=Π

exp(1)=e

log=ln

NaN=Not a number

Inf=Infinite

Basic keyword:

pi=Π

exp(1)=e

log=ln

NaN=Not a number

Inf=Infinite

今天的分享就到这里了。

如果您对今天的文章有独特的想法,

欢迎给我们留言,

让我们相约明天,

祝您今天过得开心快乐!

That's it for today's sharing.

If you have a unique idea about today's article,

welcome to leave us a message,

let us meet tomorrow,

I wish you a nice day!

参考资料:谷歌翻译,百度百科

本文由LearningYard学苑原创,如有侵权请在后台留言!

文字| 杨家兴

排版| 杨家兴

审核| 郑硕

标签: #matlab can