当前位置:网站首页>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
边栏推荐
- 【PCL自学:PCLPlotter】PCLPlotter绘制数据分析图
- 赛尔笔记|视频文本预训练简述
- 什么是cookie,以及v-htm的安全性隐患
- Can you do these five steps of single cell data cleaning?
- Does the subscription of Siyuan notes stop deleting cloud data directly?
- 虽然TCGA数据库有33种癌症
- apipost脚本使用讲解一~全局变量
- 吴恩达《机器学习》课程总结(13)_聚类
- [AI application] detailed parameters of NVIDIA geforce RTX 1080ti
- 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?
猜你喜欢
![[读书摘要] 学校的英文阅读教学错在哪里?--经验主义和认知科学的PK](/img/7b/8b3619d7726fdaa58da46b0c8451a4.png)
[读书摘要] 学校的英文阅读教学错在哪里?--经验主义和认知科学的PK

Chenyun pytorch learning notes_ Build RESNET with 50 lines of code
![[paper reading | deep reading] sdne:structural deep network embedding](/img/6a/b2edf326f6e7ded83deb77219654aa.png)
[paper reading | deep reading] sdne:structural deep network embedding

一文剖析C语言函数

吴恩达《机器学习》课程总结(11)_支持向量机

Eliminate gaps around El image images

Cornernet understands from simple to profound

Elk in Windows Environment - logstash+mysql (4)

Zero foundation self-study SQL course | case function

安全省油环保 骆驼AGM启停电池魅力十足
随机推荐
ASP.NET仓库进销存ERP管理系统源码 ERP小程序源码
现代编程语言:Rust (铁锈,一文掌握钢铁是怎样生锈的)
Cornernet understands from simple to profound
Sell notes | brief introduction to video text pre training
Local visualization tool connects to redis of Alibaba cloud CentOS server
Zero foundation self-study SQL course | complete collection of date functions in SQL
十大券商注册账户安全吗,会有风险吗?
MySQL分表查询之Merge存储引擎实现
炼金术(7): 何以解忧,唯有重构
Matlab基本函数 length函数
炼金术(2): 为什么要用issue管理软件
什么是cookie,以及v-htm的安全性隐患
零基础自学SQL课程 | IF函数
ASP. Net warehouse purchase, sales and inventory ERP management system source code ERP applet source code
Thread pool implementation: semaphores can also be understood as small waiting queues
单片机之IIC通信协议「建议收藏」
Is not null and in SQL= Difference between null
At the beginning of reading English literature, I would like to ask you how you should read it in the first place?
【无标题】
Is it safe for Huatai Securities to open an account online?