MATLAB Answers

How to save this model-learning-process animation figure as gif ?

5 views (last 30 days)
QuanCCC
QuanCCC on 2 Oct 2019
Answered: Abhilash Padma on 7 Nov 2019
Please try these lines as an example.
load(fullfile(matlabroot,'examples','stats','gprdata2.mat'));
gprMdl2 = fitrgp(x,y,'KernelFunction','squaredexponential',...
'OptimizeHyperparameters','auto','HyperparameterOptimizationOptions',...
struct('AcquisitionFunctionName','expected-improvement-plus'));
While running the second line, matlab will pop out two animation figures. How can I save them as GIF (so I can show in powerpoint)?
Thank you.

  0 Comments

Sign in to comment.

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!