@@ -198,8 +198,8 @@ c = 2×2 complex
198
198
199
199
### 输入命令
200
200
201
- :- | :- | :-
202
- :- | :- | :-
201
+ :- | :-
202
+ :- | :-
203
203
[ ans] ( https://ww2.mathworks.cn/help/matlab/ref/ans.html ) | 最近计算的答案
204
204
[ clc] ( https://ww2.mathworks.cn/help/matlab/ref/clc.html ) | 清空命令行窗口
205
205
[ diary] ( https://ww2.mathworks.cn/help/matlab/ref/diary.html ) | 将命令行窗口文本记录到日志文件中
@@ -221,8 +221,8 @@ c = 2×2 complex
221
221
222
222
创建和合并数组
223
223
224
- :- | :- | :-
225
- :- | :- | :-
224
+ :- | :-
225
+ :- | :-
226
226
[ zeros] ( https://ww2.mathworks.cn/help/matlab/ref/zeros.html ) | 创建全零数组
227
227
[ ones] ( https://ww2.mathworks.cn/help/matlab/ref/ones.html ) | 创建全部为 1 的数组
228
228
[ rand] ( https://ww2.mathworks.cn/help/matlab/ref/rand.html ) | 均匀分布的随机数
@@ -239,8 +239,8 @@ c = 2×2 complex
239
239
240
240
创建网格
241
241
242
- :- | :- | :-
243
- :- | :- | :-
242
+ :- | :-
243
+ :- | :-
244
244
[ linspace] ( https://ww2.mathworks.cn/help/matlab/ref/linspace.html ) | 生成线性间距向量
245
245
[ logspace] ( https://ww2.mathworks.cn/help/matlab/ref/logspace.html ) | 生成对数间距向量
246
246
[ freqspace] ( https://ww2.mathworks.cn/help/matlab/ref/freqspace.html ) | 频率响应的频率间距
@@ -249,8 +249,8 @@ c = 2×2 complex
249
249
250
250
确定大小、形状和排序
251
251
252
- :- | :- | :-
253
- :- | :- | :-
252
+ :- | :-
253
+ :- | :-
254
254
[ length] ( https://ww2.mathworks.cn/help/matlab/ref/length.html ) | 最大数组维度的长度
255
255
[ size] ( https://ww2.mathworks.cn/help/matlab/ref/size.html ) | 数组大小
256
256
[ ndims] ( https://ww2.mathworks.cn/help/matlab/ref/double.ndims.html ) | 数组维度数目
@@ -266,8 +266,8 @@ c = 2×2 complex
266
266
267
267
重构和重新排列
268
268
269
- :- | :- | :-
270
- :- | :- | :-
269
+ :- | :-
270
+ :- | :-
271
271
[ sort] ( https://ww2.mathworks.cn/help/matlab/ref/sort.html ) | 对数组元素排序
272
272
[ sortrows] ( https://ww2.mathworks.cn/help/matlab/ref/double.sortrows.html ) | 对矩阵行或表行进行排序
273
273
[ flip] ( https://ww2.mathworks.cn/help/matlab/ref/flip.html ) | 翻转元素顺序
@@ -285,8 +285,8 @@ c = 2×2 complex
285
285
286
286
索引
287
287
288
- :- | :- | :-
289
- :- | :- | :-
288
+ :- | :-
289
+ :- | :-
290
290
[ colon] ( https://ww2.mathworks.cn/help/matlab/ref/colon.html ) | 向量创建、数组下标和 <code class =" literal " >for</code > 循环迭代
291
291
[ end] ( https://ww2.mathworks.cn/help/matlab/ref/end.html ) | 终止代码块或指示最大数组索引
292
292
[ ind2sub] ( https://ww2.mathworks.cn/help/matlab/ref/ind2sub.html ) | 将线性索引转换为下标
@@ -297,8 +297,8 @@ c = 2×2 complex
297
297
298
298
创建数值变量
299
299
300
- :- | :- | :-
301
- :- | :- | :-
300
+ :- | :-
301
+ :- | :-
302
302
[ double] ( https://ww2.mathworks.cn/help/matlab/ref/double.html ) | 双精度数组
303
303
[ single] ( https://ww2.mathworks.cn/help/matlab/ref/single.html ) | 单精度数组
304
304
[ int8] ( https://ww2.mathworks.cn/help/matlab/ref/int8.html ) | 8 位有符号整数数组
@@ -312,15 +312,15 @@ c = 2×2 complex
312
312
313
313
在数值类型之间转换
314
314
315
- :- | :- | :-
316
- :- | :- | :-
315
+ :- | :-
316
+ :- | :-
317
317
[ cast] ( https://ww2.mathworks.cn/help/matlab/ref/cast.html ) | 将变量转换为不同的数据类型
318
318
[ typecast] ( https://ww2.mathworks.cn/help/matlab/ref/typecast.html ) | 在不更改基础数据的情况下转换数据类型
319
319
320
320
查询类型和值
321
321
322
- :- | :- | :-
323
- :- | :- | :-
322
+ :- | :-
323
+ :- | :-
324
324
[ allfinite] ( https://ww2.mathworks.cn/help/matlab/ref/allfinite.html" ) | Determine if all array elements are finite
325
325
[ anynan] ( https://ww2.mathworks.cn/help/matlab/ref/anynan.html" ) | Determine if any array element is NaN
326
326
[ isinteger] ( https://ww2.mathworks.cn/help/matlab/ref/isinteger.html ) | 确定输入是否为整数数组
@@ -333,8 +333,8 @@ c = 2×2 complex
333
333
334
334
数值范围
335
335
336
- :- | :- | :-
337
- :- | :- | :-
336
+ :- | :-
337
+ :- | :-
338
338
[ eps] ( https://ww2.mathworks.cn/help/matlab/ref/eps.html ) | 浮点相对精度
339
339
[ flintmax] ( https://ww2.mathworks.cn/help/matlab/ref/flintmax.html ) | 浮点格式的最大连续整数
340
340
[ Inf] ( https://ww2.mathworks.cn/help/matlab/ref/inf.html ) | 创建所有值均为 ` Inf ` 的数组
@@ -363,26 +363,26 @@ c = 2×2 complex
363
363
364
364
### 字符串数组
365
365
366
- :- | :- | :-
367
- :- | :- | :-
366
+ :- | :-
367
+ :- | :-
368
368
[ string] ( https://ww2.mathworks.cn/help/matlab/ref/string.html ) | 字符串数组
369
369
[ strings] ( https://ww2.mathworks.cn/help/matlab/ref/strings.html ) | 创建不包含字符的字符串数组
370
370
[ join] ( https://ww2.mathworks.cn/help/matlab/ref/join.html ) | 合并字符串
371
371
[ plus] ( https://ww2.mathworks.cn/help/matlab/ref/plus.html ) | 添加数字,追加字符串
372
372
373
373
### 字符数组
374
374
375
- :- | :- | :-
376
- :- | :- | :-
375
+ :- | :-
376
+ :- | :-
377
377
[ char] ( https://ww2.mathworks.cn/help/matlab/ref/char.html ) | 字符数组
378
378
[ cellstr] ( https://ww2.mathworks.cn/help/matlab/ref/cellstr.html ) | 转换为字符向量元胞数组
379
379
[ blanks] ( https://ww2.mathworks.cn/help/matlab/ref/blanks.html ) | 创建空白字符数组
380
380
[ newline] ( https://ww2.mathworks.cn/help/matlab/ref/newline.html ) | 创建换行符
381
381
382
382
### 字符或字符串数组
383
383
384
- :- | :- | :-
385
- :- | :- | :-
384
+ :- | :-
385
+ :- | :-
386
386
[ compose] ( https://ww2.mathworks.cn/help/matlab/ref/compose.html ) | 将数据格式化为多个字符串
387
387
[ sprintf] ( https://ww2.mathworks.cn/help/matlab/ref/sprintf.html ) | 将数据格式化为字符串或字符向量
388
388
[ strcat] ( https://ww2.mathworks.cn/help/matlab/ref/strcat.html ) | 水平串联字符串
@@ -399,8 +399,8 @@ c = 2×2 complex
399
399
400
400
### 字符或字符串 - 在数值和字符串之间转换
401
401
402
- :- | :- | :-
403
- :- | :- | :-
402
+ :- | :-
403
+ :- | :-
404
404
[ double] ( https://ww2.mathworks.cn/help/matlab/ref/double.html ) | 双精度数组
405
405
[ string] ( https://ww2.mathworks.cn/help/matlab/ref/string.html ) | 字符串数组
406
406
[ str2double] ( https://ww2.mathworks.cn/help/matlab/ref/str2double.html ) | 将字符串转换为双精度值
@@ -411,17 +411,17 @@ c = 2×2 complex
411
411
412
412
数据类型
413
413
414
- :- | :- | :-
415
- :- | :- | :-
414
+ :- | :-
415
+ :- | :-
416
416
[ ischar] ( https://ww2.mathworks.cn/help/matlab/ref/ischar.html ) | 确定输入是否为字符数组
417
417
[ iscellstr] ( https://ww2.mathworks.cn/help/matlab/ref/iscellstr.html ) | 确定输入是否为字符向量元胞数组
418
418
[ isstring] ( https://ww2.mathworks.cn/help/matlab/ref/isstring.html ) | 确定输入是否为字符串数组
419
419
[ isStringScalar] ( https://ww2.mathworks.cn/help/matlab/ref/isstringscalar.html ) | 确定输入是否为包含一个元素的字符串数组
420
420
421
421
文本属性
422
422
423
- :- | :- | :-
424
- :- | :- | :-
423
+ :- | :-
424
+ :- | :-
425
425
[ strlength] ( https://ww2.mathworks.cn/help/matlab/ref/strlength.html ) | 字符串长度
426
426
[ isstrprop] ( https://ww2.mathworks.cn/help/matlab/ref/isstrprop.html ) | 确定输入字符串中的哪些字符属于指定类别
427
427
[ isletter] ( https://ww2.mathworks.cn/help/matlab/ref/isletter.html ) | 确定哪些字符为字母
@@ -432,8 +432,8 @@ c = 2×2 complex
432
432
433
433
查找
434
434
435
- :- | :- | :-
436
- :- | :- | :-
435
+ :- | :-
436
+ :- | :-
437
437
[ contains] ( https://ww2.mathworks.cn/help/matlab/ref/contains.html ) | 确定字符串中是否有模式
438
438
[ matches] ( https://ww2.mathworks.cn/help/matlab/ref/matches.html ) | 确定模式是否与字符串匹配
439
439
[ count] ( https://ww2.mathworks.cn/help/matlab/ref/count.html ) | 计算字符串中模式的出现次数
@@ -444,22 +444,22 @@ c = 2×2 complex
444
444
445
445
替换
446
446
447
- :- | :- | :-
448
- :- | :- | :-
447
+ :- | :-
448
+ :- | :-
449
449
[ replace] ( https://ww2.mathworks.cn/help/matlab/ref/replace.html ) | 查找并替换一个或多个子字符串
450
450
[ replaceBetween] ( https://ww2.mathworks.cn/help/matlab/ref/replacebetween.html ) | 替换起点和终点之间的子字符串
451
451
[ strrep] ( https://ww2.mathworks.cn/help/matlab/ref/strrep.html ) | 查找并替换子字符串
452
452
453
453
### 字符串匹配模式 - 构建模式
454
454
455
- :- | :- | :-
456
- :- | :- | :-
455
+ :- | :-
456
+ :- | :-
457
457
[ pattern] ( https://ww2.mathworks.cn/help/matlab/ref/pattern.html ) | 用于搜索和匹配文本的模式
458
458
459
459
### 字符串匹配模式 - 字符匹配模式
460
460
461
- :- | :- | :-
462
- :- | :- | :-
461
+ :- | :-
462
+ :- | :-
463
463
[ alphanumericsPattern] ( https://ww2.mathworks.cn/help/matlab/ref/alphanumericspattern.html ) | 匹配字母和数字字符
464
464
[ characterListPattern] ( https://ww2.mathworks.cn/help/matlab/ref/characterlistpattern.html ) | 匹配列表中的字符
465
465
[ digitsPattern] ( https://ww2.mathworks.cn/help/matlab/ref/digitspattern.html ) | 匹配数字字符
@@ -469,8 +469,8 @@ c = 2×2 complex
469
469
470
470
### 字符串匹配模式 - 模式搜索规则
471
471
472
- :- | :- | :-
473
- :- | :- | :-
472
+ :- | :-
473
+ :- | :-
474
474
[ optionalPattern] ( https://ww2.mathworks.cn/help/matlab/ref/optionalpattern.html ) | 使模式匹配可选
475
475
[ possessivePattern] ( https://ww2.mathworks.cn/help/matlab/ref/possessivepattern.html ) | 匹配模式而不回溯
476
476
[ caseSensitivePattern] ( https://ww2.mathworks.cn/help/matlab/ref/casesensitivepattern.html ) | 以区分大小写的方式匹配模式
@@ -495,15 +495,15 @@ c = 2×2 complex
495
495
496
496
### 字符串匹配模式 - 自定义模式显示
497
497
498
- :- | :- | :-
499
- :- | :- | :-
498
+ :- | :-
499
+ :- | :-
500
500
[ maskedPattern] ( https://ww2.mathworks.cn/help/matlab/ref/maskedpattern.html ) | 具有指定显示名称的模式
501
501
[ namedPattern] ( https://ww2.mathworks.cn/help/matlab/ref/namedpattern.html ) | 指定命名模式
502
502
503
503
### 字符串匹配模式 - 正则表达式
504
504
505
- :- | :- | :-
506
- :- | :- | :-
505
+ :- | :-
506
+ :- | :-
507
507
[ regexp] ( https://ww2.mathworks.cn/help/matlab/ref/regexp.html ) | 匹配正则表达式(区分大小写)
508
508
[ regexpi] ( https://ww2.mathworks.cn/help/matlab/ref/regexpi.html ) | 匹配正则表达式(不区分大小写)
509
509
[ regexprep] ( https://ww2.mathworks.cn/help/matlab/ref/regexprep.html ) | 使用正则表达式替换文本
@@ -512,8 +512,8 @@ c = 2×2 complex
512
512
513
513
### 字符串匹配模式 - 联接和拆分
514
514
515
- :- | :- | :-
516
- :- | :- | :-
515
+ :- | :-
516
+ :- | :-
517
517
[ join] ( https://ww2.mathworks.cn/help/matlab/ref/join.html ) | 合并字符串
518
518
[ plus] ( https://ww2.mathworks.cn/help/matlab/ref/plus.html ) | 添加数字,追加字符串
519
519
[ split] ( https://ww2.mathworks.cn/help/matlab/ref/split.html ) | 在分隔符处拆分字符串
@@ -529,8 +529,8 @@ c = 2×2 complex
529
529
### 字符串编辑
530
530
<!-- rehype:wrap-class=row-span-2-->
531
531
532
- :- | :- | :-
533
- :- | :- | :-
532
+ :- | :-
533
+ :- | :-
534
534
[ erase] ( https://ww2.mathworks.cn/help/matlab/ref/erase.html ) | 删除字符串内的子字符串
535
535
[ eraseBetween] ( https://ww2.mathworks.cn/help/matlab/ref/erasebetween.html ) | 删除起点和终点之间的子字符串
536
536
[ extract] ( https://ww2.mathworks.cn/help/matlab/ref/extract.html ) | 从字符串中提取子字符串
@@ -550,8 +550,8 @@ c = 2×2 complex
550
550
551
551
### 字符串比较
552
552
553
- :- | :- | :-
554
- :- | :- | :-
553
+ :- | :-
554
+ :- | :-
555
555
[ matches] ( https://ww2.mathworks.cn/help/matlab/ref/matches.html ) | 确定模式是否与字符串匹配
556
556
[ strcmp] ( https://ww2.mathworks.cn/help/matlab/ref/strcmp.html ) | 比较字符串
557
557
[ strcmpi] ( https://ww2.mathworks.cn/help/matlab/ref/strcmpi.html ) | 比较字符串(不区分大小写)
0 commit comments