Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language.

输入参数方程

    • 佳伟 刘
      Subscriber

      您好,我想把物体自定义设置为如下的参数曲线表达的形式,比如风筝型,这个参数曲线怎么输入呢?或者输入的脚本是什么呢?谢谢

       

    • ChrisLee
      Subscriber

      图1:

      t=linspace(0,2*pi,100);

      x=cos(t)+0.65*cos(2*t)-0.65;

      y=sin(t);

      a=matrix(100,2);

       

      for(i=1:100){

      a(i,1)=x(i);

      a(i,2)=y(i);

      }

      select("poly");

      set("vertices",a);

       

Viewing 1 reply thread
  • The topic ‘输入参数方程’ is closed to new replies.
[bingo_chatbox]