This repository has been archived on 2021-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
NC/mp2/Project.2.Maggioni.Claudio/ex4.m

14 lines
319 B
Mathematica
Raw Normal View History

2020-10-06 11:58:55 +00:00
clear;
clc;
load('householder/housegraph.mat')
names = split(strtrim(convertCharsToStrings(name')));
2020-10-06 12:43:53 +00:00
disp("Golub-Moler:");
disp(names((A(:,Golub) .* A(:, Moler)) == 1));
disp("Golub-Saunders:");
disp(names((A(:,Golub) .* A(:, Saunders)) == 1));
disp("TChan-Demmel:");
disp(names((A(:,TChan) .* A(:, Demmel)) == 1));