From 758d7a310ea68fccbfa4016dc001374d880bc475 Mon Sep 17 00:00:00 2001 From: Elian Dib <elian.dib@inria.fr> Date: Tue, 7 May 2019 13:58:38 +0200 Subject: [PATCH] Added function to replicate column --- replicate.m | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 replicate.m diff --git a/replicate.m b/replicate.m new file mode 100644 index 0000000..fee6dad --- /dev/null +++ b/replicate.m @@ -0,0 +1,7 @@ +function Value = replicate(Value,ind) +%REPLICATE Summary of this function goes here +% Detailed explanation goes here + +Value = repmat(Value(:,ind),1,size(Value,2)); + +end \ No newline at end of file -- GitLab