From 1a9dc5fe1e700a123787f6183bceacaefaf954d6 Mon Sep 17 00:00:00 2001 From: bgtushar Date: Mon, 27 Nov 2017 20:45:48 +0530 Subject: Deleted bin and HTML, Added Functions --- macros/fftn.sci | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 macros/fftn.sci (limited to 'macros/fftn.sci') diff --git a/macros/fftn.sci b/macros/fftn.sci new file mode 100644 index 0000000..ba7f352 --- /dev/null +++ b/macros/fftn.sci @@ -0,0 +1,15 @@ +function y = fftn(A, SIZE) + +funcprot(0); +rhs = argn(2) +if(rhs<1 | rhs>2) +error("Wrong number of input arguments."); +end + + select(rhs) + case 1 then + y = callOctave("fftn",A); + case 2 then + y = callOctave("fftn",A, SIZE); + end +endfunction -- cgit