How i can find the difference between 2 values.
5 ビュー (過去 30 日間)
古いコメントを表示
I have 2 tables, with 1 column and 24 rows each.
I want to find the diferrence between each value in every row.
for example
T1=[1.5
2.5
3.5
4.5]
T2=[1.2
2
3
4]
The answer must be
Diff=[ 0.3
0.5
0.5
0.5]
0 件のコメント
回答 (2 件)
Jon
2022 年 7 月 18 日
y = T1 - T2
9 件のコメント
Jon
2022 年 7 月 20 日
編集済み: Jon
2022 年 7 月 20 日
Glad you got this sorted out. If this answered your question please accept the answer. Thanks @Stephen23 for pressing through the details on this and helping the OP understand.
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!