Ansys Optics Help Center home page
Products
  • Ansys Optics
  • Downloads
  • What's new
  • Ansys Help
Solutions
  • Lumerical
  • Zemax
  • Speos
Learn
  • Ansys Innovation Courses (AIC)
  • Ansys Learning Hub (ALH)
  • Webinars
  • On-Demand Webinars
  • White Papers
Get Help
  • Welcome Guide
  • Ansys Learning Forum (ALF)
  • Lumerical Ideas Exchange (IX)
  • Ansys Support (ACSS)
  • How to Register for Support
Evaluate for Free
  • Lumerical
  • Zemax
  • Speos
  1. Ansys Optics
  2. Scripting Language
  3. Commands

TOP

meshgridy - Script command

FDTD MODE DGTD CHARGE HEAT FEEM INTERCONNECT

Create a 2D meshgrid in the y direction

Syntax

Description

out = meshgridy(x,y);

If x and y are single column (or single row vectors), of dimension nX1 and mX1 respectively, the command

  • Y = meshgridy(x,y);

Will create a 2D matrix of dimension nXm where Y(i,j)=y(j).

Examples

See example in meshgridx.

See Also

List of commands , image , meshgridx , meshgrid3dx

Associated files

Related articles

  • meshgridx - Script command
  • meshgrid3dx - Script command
  • Lumerical scripting language - By category
  • czt - Script command
  • setnamed - Script command

Products

  • Ansys Optics
  • Downloads
  • What's new
  • Ansys Help

Solutions

  • Lumerical
  • Zemax
  • Speos

Learn

  • Ansys Innovation Courses
  • Ansys Learning Hub
  • Webinars
  • On-Demand Webinars
  • White Papers

Get Help

  • Ansys Learning Forum
  • Lumerical Ideas Exchange
  • Ansys Support
  • How to Register for Support

Evaluate for Free

  • Lumerical
  • Zemax
  • Speos
Hear the Latest from Ansys

Copyright 2025 Ansys Canada Ltd.


Ansys
  • Terms of Service
  • Cookie Policy
  • Privacy Policy
  • Legal Notices