フィルターのクリア

I want to assign values in column 2-6 corresponding to each element in coulmn 1

1 回表示 (過去 30 日間)
N/A
N/A 2017 年 12 月 24 日
コメント済み: N/A 2017 年 12 月 27 日
kindly tell the functions required for writning the program and explain them as well
  2 件のコメント
James Tursa
James Tursa 2017 年 12 月 24 日
Please provide a small example of input(s) and desired output(s).
N/A
N/A 2017 年 12 月 27 日
a=[rice wheat cotton]
b=[3kg 2 kg 5kg]
now what i want is that rice should come equal to 2kg and like this
rice=3kg
wheat=2kg
cotton=5kg

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

採用された回答

KSSV
KSSV 2017 年 12 月 26 日
It is a straight forward job..if you know how to index matrices sin matlab..please read about this here: https://in.mathworks.com/company/newsletters/articles/matrix-indexing-in-matlab.html.
  2 件のコメント
N/A
N/A 2017 年 12 月 26 日
Thanks alot
N/A
N/A 2017 年 12 月 27 日
but i actually wanted something like i mentioned in a previous comment on james tusra comments

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by