What is the correct way to write 1/2i in Matlab?

  • Thread starter Thread starter danik_ejik
  • Start date Start date
  • Tags Tags
    Inverse Matrix
Click For Summary

Homework Help Overview

The discussion revolves around the correct representation of the expression 1/2i in Matlab, particularly in the context of finding the inverse of a matrix. Participants are exploring the implications of notation in mathematical expressions.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants are questioning the ambiguity of the expression 1/2i and whether it should be interpreted as (1/2)i or 1/(2i). There is also a focus on understanding the implications of this notation for matrix inversion.

Discussion Status

The discussion is ongoing, with participants seeking clarification on the notation and its impact on the problem at hand. Some guidance has been offered regarding the use of parentheses to avoid ambiguity.

Contextual Notes

There is a lack of information regarding the specific matrix A and its properties, which is crucial for discussing its inverse. The original poster's confusion about the notation is a central theme.

danik_ejik
Messages
18
Reaction score
0
I don't understand what am I doing wrong!?
please help:

gif.latex?A=\begin{pmatrix}%201%20&%201\\%20i%20&%20-i%20\end{pmatrix}.gif


I need to find the inverse of A,
so
gif.gif

and
2i%20\end{pmatrix}.gif


but Matlab returns me
2i%20\end{pmatrix}.gif
 
Last edited:
Physics news on Phys.org
danik_ejik said:
2i%20\end{pmatrix}.gif

Look more closely. Are you sure it's not this?

2)i%20\end{pmatrix}.gif
 
no, I'm not sure...
but what am I doing wrong ?
 
When you write 1/2i the reader doesn't know whether you mean (1/2)i or 1/(2i). Be more specific by using parentheses in these situations.

As for your problem, for which matrix A^{-1} above do you find that AA^{-1} =1? That is the inverse. We can't tell because we don't know what you mean by 1/2i.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K