文件名称:struct2mat
- 所属分类:
- matlab例程
- 资源属性:
- [Matlab] [源码]
- 上传时间:
- 2016-01-08
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- nothu*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
[X,n]= STRUCT2MAT(S) converts a structre S into a numeric matrix X. The
contents of each *numeric* field of S (either a vector or a matrix) will
form 1 column of X. Fieldnames are returned in cell array n . If the
fields of S aren t of the same length, the columns of X will be padded
with NaN.
Example:
s= struct( a ,[ string of letters ], b ,[1 2 3 4], c ,[1 2 3 4 5 6 7 8 9])
[x,n]= struct2mat(s)-[X,n]= STRUCT2MAT(S) converts a structre S into a numeric matrix X. The
contents of each *numeric* field of S (either a vector or a matrix) will
form 1 column of X. Fieldnames are returned in cell array n . If the
fields of S aren t of the same length, the columns of X will be padded
with NaN.
Example:
s= struct( a ,[ string of letters ], b ,[1 2 3 4], c ,[1 2 3 4 5 6 7 8 9])
[x,n]= struct2mat(s)
contents of each *numeric* field of S (either a vector or a matrix) will
form 1 column of X. Fieldnames are returned in cell array n . If the
fields of S aren t of the same length, the columns of X will be padded
with NaN.
Example:
s= struct( a ,[ string of letters ], b ,[1 2 3 4], c ,[1 2 3 4 5 6 7 8 9])
[x,n]= struct2mat(s)-[X,n]= STRUCT2MAT(S) converts a structre S into a numeric matrix X. The
contents of each *numeric* field of S (either a vector or a matrix) will
form 1 column of X. Fieldnames are returned in cell array n . If the
fields of S aren t of the same length, the columns of X will be padded
with NaN.
Example:
s= struct( a ,[ string of letters ], b ,[1 2 3 4], c ,[1 2 3 4 5 6 7 8 9])
[x,n]= struct2mat(s)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
struct2mat.m
license.txt