当前位置:网站首页>MATLAB basic function length function
MATLAB basic function length function
2022-06-28 00:09:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
1、length function : Calculate the length of a vector or matrix
2、 instructions
y = length(x) Function to calculate the length of a specified vector or matrix y. If the parameter variable x It's a vector , Returns its length ; If the parameter variable is a non empty matrix , be length(x) And max(size(x)) Equivalent
3、 Illustrate with examples
>> x = 'youhaidong'x =youhaidong>> y = length(x)y = 10>> x = rand(6,6)x = 0.8147 0.2785 0.9572 0.7922 0.6787 0.7060 0.9058 0.5469 0.4854 0.9595 0.7577 0.0318 0.1270 0.9575 0.8003 0.6557 0.7431 0.2769 0.9134 0.9649 0.1419 0.0357 0.3922 0.0462 0.6324 0.1576 0.4218 0.8491 0.6555 0.0971 0.0975 0.9706 0.9157 0.9340 0.1712 0.8235>> y = length(x)y = 64、 appendix
>> help length length Length of vector. length(X) returns the length of vector X. It is equivalent to MAX(SIZE(X)) for non-empty arrays and 0 for empty ones. See also numel. Overloaded methods: timer/length serial/length daqdevice/length daqchild/length distributed/length codistributed/length Composite/length gpuArray/length fints/length videosource/length videoinput/length visa/length udp/length tcpip/length icgroup/length icdevice/length i2c/length gpib/length Bluetooth/length xregpointer/length mbcstore/length guidarray/length cgrules/length designdev/length des_constraints/length coninputfactor/length xregcontainer/length xregmulti/length xregcovariance/length xregmonitorplotproperties/length xregdataset/length cgtradeoffkeytable/length dataset/length categorical/length tscollection/length Reference page in Help browser doc lengtPublisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/133039.html Link to the original text :https://javaforall.cn
边栏推荐
- Chenyun pytorch learning notes_ Build RESNET with 50 lines of code
- Local visualization tool connects to redis of Alibaba cloud CentOS server
- golang使用mongo-driver操作——查(进阶)
- Cornernet understands from simple to profound
- ASP. Net warehouse purchase, sales and inventory ERP management system source code ERP applet source code
- 零基础自学SQL课程 | SQL基本函数大全
- 计数质数[枚举 -> 空间换时间]
- SQL reported an unusual error, which confused the new interns
- Feign通过自定义注解实现路径的转义
- 数据仓库入门介绍
猜你喜欢

Instructions for vivado FFT IP
![[try to hack] kill evaluation](/img/93/e623e25dc4dec1f656227c7651577e.png)
[try to hack] kill evaluation
![[microservices sentinel] sentinel data persistence](/img/9f/2767945db99761bb35e2bb5434b44d.png)
[microservices sentinel] sentinel data persistence

MYSQL的下载与配置安装

夏日的晚会

A summer party

Character interception triplets of data warehouse: substrb, substr, substring

C language character pointer and string initialization

本地可视化工具连接阿里云centOS服务器的redis

Promise是什么
随机推荐
Zero foundation self-study SQL course | if function
股市小白在网上股票开户安全吗?
[VIM] tutorial, common commands, efficient use of vim editor
零基础自学SQL课程 | IF函数
100 questions for an enterprise architect interview
Solve the cross domain problem of the new version of chrome: Cookie loss and samesite attribute problem "recommended collection"
C语言malloc函数的功能及用法
一文剖析C语言函数
Is it safe to open a stock account through the account opening QR code of CICC securities manager? Or is it safe to open an account in a securities company?
線程池實現:信號量也可以理解成小等待隊列
[PCL self study: Segmentation3] PCL based point cloud segmentation: region growth segmentation
Chenyun pytorch learning notes_ Build RESNET with 50 lines of code
Using two stacks to implement queues [two first in first out is first in first out]
After a period of silence, I came out again~
夏日的晚会
现代编程语言:zig
How to use the apipost script - global variables
How to use raspberry pie (and all kinds of pies)
证券注册账户安全吗,会有风险吗?
Does the subscription of Siyuan notes stop deleting cloud data directly?