필터 지우기
필터 지우기

loop and mixing for tables

조회 수: 1 (최근 30일)
addy fang
addy fang 2020년 7월 30일
If Variables A, B, C each varies from 0 to 100, and their sum equal to 100.
I tried the following:
for A, B, C = 0:10:100, A+B+C=100,
z=A*T1.+B*T2.+C*T3.
end
%%%T1, T2, T3 are tables, containing similar structures (same columns/rows, similar type of data)%%%
It seems that there is some problem.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by