What's the difference between two way to input Matlab Complex Matrices
问题 Here's two ways to enter the command in Matlab. I don't think there's any difference between them. However, the result is really different. So I wonder what's I missed in this situation. Here's the first input: >> A = [(-0.025+0.01i) -0.025; 3 (1-2i)]; >> B = [(5.7955+1.5529i) 0]'; >> I=inv(A)*B The output is like this: I = 1.0e+02 * -0.7063 - 1.2723i -1.1030 + 1.6109i Here's the second input: >> A = [(-0.025+0.01i) -0.025;3 (1-2i)]; >> B = [(5.7955+1.5529i);0]; >> I=inv(A)*B And the Matlab