what are the methods of Encode function in matlab?
2 次查看(过去 30 天)
显示 更早的评论
I am trying to encode my data and it is cell type of single type then I converted it to char type and I got this error : Invalid method option for ENCODE.
B = encode(DATA,'DocumentsIn','columns' );
0 个评论
回答(1 个)
Jan
2018-7-5
code = encode(msg,n,k,'linear/fmt',genmat)
Here n and k are integer numbers.
Which "encode" function are you talking obout?
What exactly does "cell type of single type" mean? Please post some example data.
2 个评论
Jan
2018-7-5
It is still not clear, which "encode" function you mean. In "counts = encode(_,Name,Value)", what exactly is "____". This is the important point to clarify, which problem you have at all.
It depends, on what you can to have in the matrix. An imageSet contains different data. So please define uniquely, what you want the matrix to contain.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!