extract from strring row symbol
3 次查看(过去 30 天)
显示 更早的评论
There is a column vector A, which consists of strring rows. Need to extract symbol numbered j from row numbered i , . How do I solve this problem?
example :
A=["abcd"
“efgh”
“ijklm”],
Need to extract symbol numbered 3 from row numbered 3, i.e. symbol "k"
0 个评论
采纳的回答
Voss
2022-2-27
A=["abcd";"efgh";"ijklm"]
row_symbol_idx = [3 3];
symbol = extract(A(row_symbol_idx(1)),row_symbol_idx(2))
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!