What is the goal of the problem?

Click For Summary
The discussion centers around clarifying the problem's goal, specifically whether the aim is to solve for x in the equation p = Hx, given the matrix H. Participants express confusion over the provided arrays, particularly the discrepancies between the user's array U and the correct answer's array U, which resembles the array V^T. There is a request for a complete problem statement to better understand the context and assist in resolving the differences in results. The importance of clear problem definitions and accurate representations of variables is emphasized for effective problem-solving. Providing additional details could facilitate more accurate guidance.
nao113
Messages
68
Reaction score
13
Homework Statement
Hello, I tried to solve SVD questions using python. I already got the answer for this . Then, I tried to use python to solve this case by looking at thee tutorial https://www.youtube.com/watch?v=_So8j8T-E1o&list=PLRDl2inPrWQW1QSWhBU0ki-jq_uElkh2a&index=43.
But when I tried by myself. I found the value of U and VT are different from the correct answer.

Can anyone point out what I did wrong here?
Relevant Equations
I put them below
Question:
Screen Shot 2022-06-08 at 18.47.24.png


Correct Answer:
Screen Shot 2022-06-08 at 17.07.42.png

U and VT in code:
Screen Shot 2022-06-08 at 18.41.50.png
 
Physics news on Phys.org
From your post it's difficult to understand what you are doing. In the problem statement, the only information given is the matrix H. What is the goal of the problem? Are either p or x given? The image shows ##p = Hx##. Is the goal to solve for x?

In your work, you show an array named U, but it doesn't match the array named U in what you show as the correct answer. Your array U looks similar to the array named ##V^T## in the solution, but some of the array entries have different signs. The correct answer shows a vector for p. Was that given?

If you provide a complete problem statement, maybe we can help you figure out why you're getting different results than are shown in the solution.
 
Thread 'Full bridge circuit with inductor and resistor'
The above is the circuit i am calculating the inductor current. During the positive half of the sine input D1 and D3 are conducting so the circuit becomes My calculations are as below Are the above equations ok? When transitioning from +Ve cycle to -Ve sine wave does the above equations still applicable? During the negative cycle the diodes D2 and D4 are conducting and the current direction is going into the inductor same as when diodes D1 and D3 are conducting. According to me the same...

Similar threads

Replies
6
Views
1K
  • · Replies 54 ·
2
Replies
54
Views
5K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
Replies
5
Views
4K
Replies
2
Views
2K