How to give input values for this flag representation?

2 views (last 30 days)
Hi Users, DisplayFlag = flag indicating whether to display and plot results. What value should give as input?

Answers (1)

Image Analyst
Image Analyst on 18 Aug 2014
I would pass in true if you want the results plotted/displayed and pass in false if you don't want them plotted/displayed.
% Plot results
myFunction(true);
% Do not plot results
myFunction(false);

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!