Hi, whenever I run this code my data get updated to the last file data. I don't want to do it, rather I want all data to stack one after another. How can I update this code?

2 views (last 30 days)

Answers (1)

Image Analyst
Image Analyst on 21 Sep 2022
We can't run images and I'm not going to type all that in. I suspect you want output to change depending on what "j" is but you're not using j as an index to "output". Why not? Maybe it should. Not sure what "stacked" means. You're assigning data to a 2-D array. Do you want a 3-D array? What exactly does "stacked" mean to you? Can you provide a small and simple example of input and output data?

Sign in to comment.


Find more on Structures in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by