From ae3664396878000dd5cbb82f2e210a91121adce0 Mon Sep 17 00:00:00 2001 From: Kenneth Harris Date: Thu, 29 May 2025 18:31:44 +0100 Subject: [PATCH] Added writeNPYshaped which lets you save with a prespecified shape --- constructNPYheader.m | 2 +- writeNPYshaped.m | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 writeNPYshaped.m diff --git a/constructNPYheader.m b/constructNPYheader.m index ca2840e..37e8c09 100644 --- a/constructNPYheader.m +++ b/constructNPYheader.m @@ -63,7 +63,7 @@ for s = 1:length(shape) dictString = [dictString num2str(shape(s))]; - if s