finding the transformation vector?

조회 수: 4 (최근 30일)
Tsz Fung Woo
Tsz Fung Woo 2023년 4월 1일
댓글: Torsten 2023년 4월 1일
Let say I have a vector A:
A=[1 2 2 3 3 3 4 4 4 4];
then I transform A to B by x so that [ Ax = B ]:
B=[4 1 4 4 1 1 2 4 6 5];
How do I find x ?
Thanks!
  댓글 수: 1
Torsten
Torsten 2023년 4월 1일
You mean A.*x = b or A*x = b ?

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

답변 (1개)

Vilém Frynta
Vilém Frynta 2023년 4월 1일
A = [1 2 2 3 3 3 4 4 4 4];
B = [4 1 4 4 1 1 2 4 6 5];
x = B./A
x = 1×10
4.0000 0.5000 2.0000 1.3333 0.3333 0.3333 0.5000 1.0000 1.5000 1.2500

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by