finding the transformation vector?

3 visualizaciones (últimos 30 días)
Tsz Fung Woo
Tsz Fung Woo el 1 de Abr. de 2023
Comentada: Torsten el 1 de Abr. de 2023
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!

Respuestas (1)

Vilém Frynta
Vilém Frynta el 1 de Abr. de 2023
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

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by