フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

format type in determinant

3 ビュー (過去 30 日間)
x
x 2011 年 9 月 7 日
閉鎖済み: John D'Errico 2020 年 11 月 15 日
clc;
close all;
clear all;
A = [1 2 5 ; 4 4 6 ; 7 8 9];
[x1 x2]=gradient(A);
disp(x1);
disp('GRADIENT IN HORIZONTAL DIRECTION');
disp(x2);
disp('GRADIENT IN VERTICAL DIRECTION');
x=x1+x2;
disp(x);
C=cov(x);
disp(C);
l=det(C);
disp(l);
title('determinant');
S=sqrt(l);
disp(S);
title('square root');
U=2*pi*(2.1*2.1);
F=S/U;
determinant value calculated manually and by pgm varies..format type problem is specified already..how i can solve this?or can i use this code as it is
  3 件のコメント
Walter Roberson
Walter Roberson 2011 年 9 月 7 日
Looks like a duplicate question to me.
http://www.mathworks.com/matlabcentral/answers/14483-finding-determinant-of-matrix-after-taking-covariance
Walter Roberson
Walter Roberson 2011 年 9 月 7 日
Looks like a duplicate question to me.
http://www.mathworks.com/matlabcentral/answers/14483-finding-determinant-of-matrix-after-taking-covariance

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by