From a44b9ed57ffebfa5b13b29e94c7da97bed99911b Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 29 Nov 2021 22:30:01 +0100 Subject: mms: add lecture --- Year_3/MMS/corr_data.m | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Year_3/MMS/corr_data.m (limited to 'Year_3/MMS/corr_data.m') diff --git a/Year_3/MMS/corr_data.m b/Year_3/MMS/corr_data.m new file mode 100644 index 0000000..0309e05 --- /dev/null +++ b/Year_3/MMS/corr_data.m @@ -0,0 +1,7 @@ +function f = corr_data(data1, data2) + f = corrcoef(data1, data2); + disp("Matrix " + f) + plot(data1, data2, "x") + xlabel("Data1") + ylabel("Data2") +end \ No newline at end of file -- cgit v1.2.3-18-g5258