How do I solve for H in matlab?

  • Thread starter Thread starter Badger33
  • Start date Start date
  • Tags Tags
    Matlab Matrix
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Badger33
Messages
34
Reaction score
0
I need help implementing this bit of code into matlab. I have a known matrix lest call it Z. and I have another unknown matrix called H. The matrices are related by the following relationship.

Z = HTH

How do I solve for H in matlab? If it is relevant Z is a make up of other known matrices and that code in MATLAB is:

Z = A + 2*eye(n)

where A is the initial known matrix and n is just an integer.UPDATE: Yes A and Z will always be positive.
 
Last edited:
Physics news on Phys.org