Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

plus

Shape1 + Shape2

Syntax

c = plus(shape1,shape2)

Description

example

c = plus(shape1,shape2) calls the syntax shape1 + shape2 to unite two shapes.

Examples

collapse all

Create a rectangular and circular shape and unite them.
r  = antenna.Rectangle;
c  = antenna.Circle;
r+c;

Input Arguments

collapse all

Shapes created using custom elements and shape objects of Antenna Toolbox™, specified as an object handle.

Example: rectangle1+rectangle2 where rectangle1 and rectangle2 are shapes created using antenna.Rectangle object.

Introduced in R2017a

Was this topic helpful?