Finding correlation with inputs and output variables

13 ビュー (過去 30 日間)
Majid Vaghari
Majid Vaghari 2021 年 2 月 11 日
コメント済み: Sunita 2023 年 12 月 1 日
I have 39 alloys that each alloys my contain 7 elements Hf, Mo, Nb, Ta, Ti, V, Zr.
Is there any function or code in matlab to find is there any correlation between the atomic percent of these 7 elements in each of these alloys to the strength?
x1,x2,x3,x4,x5,x6,x7 are the inputs and the strength is the output.
you can see the attachemet for the data for these 39 alloys.
Best
Majid
  1 件のコメント
Sunita
Sunita 2023 年 12 月 1 日
Hi, Did u get the answer to this one. All i get the correlation from "corrplot" but i need a mathematical corelation like
y=3487.60+0.063*x(1)-0.057*x(2);

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

採用された回答

Adam Danz
Adam Danz 2021 年 2 月 12 日
編集済み: Adam Danz 2021 年 2 月 12 日
It sounds like you want to plot the correlation between all pairs of variables.
If you have the Econometrics Toolbox, you can use corrplot().
If you do not have the econometrics toolbox you can follow this demo that shows how to recreate corrplot using plotmatrix.
Use readtable to import your data.
  1 件のコメント
Majid Vaghari
Majid Vaghari 2021 年 2 月 12 日
Thanks Adam, it's worked.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by