You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: HELP_patch_dual.m
    path of file: ./repos/GIBBON/docs
    
    the code of the file until where you have to start completion: %% patch_dual
% Below is a demonstration of the features of the |patch_dual| function

%% Syntax
% |[Vd,Fd,Fds]=patch_dual(V,F);|

%% Description
% Computes the dual of the input tesselation defined by the vertices V and
% faces F.

%% Examples

%%
clear; close all; clc;

%%
% Plot settings
fontS
    
function

%% Syntax
% |[Vd,Fd,Fds]=patch_dual(V,F);|

%% Description
% Computes the dual of the input tesselation defined by the vertices V and
% faces F.

%% Examples

%%
clear; close all; clc;

%%
% Plot settings
fontSize=15;
plotColor1=0.25.*ones(1,3);
plotColor2=0.75.*ones(1,3);
edgeWidth=2;
markerSize=25;
cMap=gjet(250);

%% Example 1: Computing the dual of a surface triangulation

%%
% Creating example triangulation (circle filled triangle)

%Boundary and mesh parameters
ns=50; %Number of points on outer boundary (defines how well the circle is sampled)
rOut=2; %Outer radius of circular boundary
pointSpacing=rOut/15; %Approximate initial point spacing for point seeding
stdP=pointSpacing/2*ones(1,2); %Standard deviations for random point offset after point seeding

%Creating boundary curve
tt=linspace(0,2*pi,ns);
tt=tt(1:end