How to assign the names in the first cell to elements in the second cell correspondingly?

2 ビュー (過去 30 日間)
Kevin Strang
Kevin Strang 2020 年 12 月 25 日
コメント済み: Walter Roberson 2020 年 12 月 25 日
Hi there,
I am working on two cell arrays, one of which contains alphabetical names and another of which is made up by cells of numbers. I am about to match every name in the
first cell with the cell with the same position in the second cell, like matching the first name in cell 1 with the first number in cell 2 without subsituting the value into the first
cell to the name. How can I achieve that?
Thanks!
  2 件のコメント
Catalytic
Catalytic 2020 年 12 月 25 日
You need to show example input and output.
Walter Roberson
Walter Roberson 2020 年 12 月 25 日
Perhaps cell2struct() ?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by