Info

This question is closed. Reopen it to edit or answer.

vector of n figures, where n is given by user

1 view (last 30 days)
perry Oliver
perry Oliver on 14 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
++
  1 Comment
Rena Berman
Rena Berman on 24 Jan 2017
Edited: Rena Berman on 24 Jan 2017
(Answers dev) Unable to restore question that OP edited away.

Answers (1)

Titus Edelhofer
Titus Edelhofer on 14 Apr 2015
Something like this?
n = input('How many figures?');
h = gobjects(1, n);
for iFigure=1:n
h(iFigure) = figure;
end
Titus

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!