필터 지우기
필터 지우기

Matrix compare and unkonw relationships to find

조회 수: 1 (최근 30일)
Zuyu An
Zuyu An 2020년 8월 3일
댓글: Zuyu An 2020년 8월 19일
I have 2 Matrix, for example
Matrix A ={a1 b1 c1; a2 b2 c2; a3 b3 c3}
Matrix B={x1 y1 z1 m1 n1; x2 y2 z2 m2 n2; x3 y3 z3 m3 n3 }
a1 b1 c1 is the result from FEM-Simulation-1, and x1 y1 z1 m1 n1 is the Geometrie-parameter from Simulation-Objekt-1
a2 b2 c2; x2 y2 z2 m2 n2 and the other number in Matrix means the same thing from Simulation-2 and -3.
there must some relationships zwischen Matrix A and B, linear or unlinear, but i don't yet.
How kann i use Matlab this unkonw relationships to find?
Or is it possible to use Matlab this unkonw relationships to find?
which function should i use?
Thankyou very very much for your time!

채택된 답변

Sourabh Kondapaka
Sourabh Kondapaka 2020년 8월 6일
Hi,
You can use corr() function to find the relationship between columns of 2 matrices. Here, as you want to find the correlation between rows, you can transpose both the matrices.
Consider two random matrices of sizes 3x3 and 3x5 respectively
matrix_A = rand(3,3);
matrix_B = rand(3,5);
correlationMatrix = corr(matrix_A', matrix_B' );
  댓글 수: 3
Sourabh Kondapaka
Sourabh Kondapaka 2020년 8월 10일
Hi,
corr(matrix_A, matrix_B) function returns a matrix of the pairwise linear or rank correlation coefficient between each pair of columns in the input matrices matrix_A and matrix_B.
You can check for different types of correlation functions for the "corr()" function here.
Zuyu An
Zuyu An 2020년 8월 19일
thankyou very much, it is helpful!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Bruno Luong
Bruno Luong 2020년 8월 7일
편집: Bruno Luong 2020년 8월 7일
Use regression methods. If you have a linear/affine model, then use linear algebra. If you have "kind" non-linear, use polynomial, spline, fraction, nurbs regressions, if you have no clue on non-linearity but know the relationship is continuous/C1 relationship use learning technique, neuronal netwroks, deeplearning etc... If you have discontinuous non-linearity (hash code, encryption), you might be in big trouble or wait until a real quatum computer available...
  댓글 수: 1
Zuyu An
Zuyu An 2020년 8월 7일
first of all, thankyou very much for your time.
i think it is non-linearity but continuous, how kann i use learning technique, neuronal netwroks, deeplearning ? how does it work on Matlab?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by