Error in the determinant line
    3 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Error in detA line:
syms Ex Ey Ez c Bx By Bz
A=sym(zeros(4,4));
A=[0 -Ex/c -Ey/c -Ez/c; Ex/c 0 -Bz By; Ey/c Bz 0 -Bx; Ez/c -By Bx 0 ];
detA=det(A);
2 件のコメント
  James Tursa
      
      
 2017 年 9 月 21 日
				
      編集済み: Walter Roberson
      
      
 2017 年 9 月 21 日
  
			Works for me:
>> detA=det(A)
detA =
(Bx^2*Ex^2)/c^2 + (By^2*Ey^2)/c^2 + (Bz^2*Ez^2)/c^2 + (2*Bx*By*Ex*Ey)/c^2 + (2*Bx*Bz*Ex*Ez)/c^2 + (2*By*Bz*Ey*Ez)/c^2
  John D'Errico
      
      
 2017 年 9 月 21 日
				
      編集済み: Walter Roberson
      
      
 2017 年 9 月 21 日
  
			I wonder if you defined a variable named det?
回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で Linear Algebra についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


