-
-
July 24, 2024 at 8:54 am
-
July 24, 2024 at 4:56 pm
-
July 25, 2024 at 6:27 pmshun JuSubscriber
老师,我想导出吸收率所对应的波长参数,用以下代码显示出错
f = getdata("R","f");
T = -transmission("T");
R = transmission("R");
A = 1 - T - R;
x=getdata(“T”,“x”)
请问我应该用哪些代码才能正确导出吸收率所对应的波长参数呢,或者应该如何处理再导入到matlab文件中呢
-
-
July 25, 2024 at 7:07 pmGuilin SunAnsys Employee
显示出错?where? 你可以根据出错原因修改,哪一行出错查哪一行。
原则上你有监视器名字R和T,以上代码不应该出错,除非双引号是全码,你用英文状态或者半角情况试一下。我看这一行x=getdata(“T”,“x”) 引号是全码,不正确。
-
July 27, 2024 at 8:56 am
-
-
July 29, 2024 at 4:11 pmGuilin SunAnsys Employee
x=getdata(“T”,“x”) 监视器T是一个面监视器,x 是位置坐标当然有负值,你要的是波长,可以计算或者提取:
lambda=c/f
getdata("T","Wavelength")
你需要琢磨到底要什么结果。
-
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
451
-
199
-
194
-
166
-
162
Top Rated Tags
© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.