フィルターのクリア

Multiple Table addition calculations

5 ビュー (過去 30 日間)
addy fang
addy fang 2020 年 7 月 27 日
編集済み: addy fang 2020 年 7 月 27 日
I have a few tables each has similar structures with five columns. I want to add them to form new table. For example, 10% of table one add 20% table two and 70% table three to have a new table. The total percentage is 100%. I need to make many tables with all the possible variations.
I tried this:
for A=0:0.1:1, B=0:0.1:1, C=0:0.1:1, and A+B+C=1.0
R=T1.*A+T2.*B+T2.*C
%%T1, T2, and T3 are the tables%%%
end;
It did not work. Can someone help? Thank you.

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by