How to fix the bugs in my matlab code?

3 次查看(过去 30 天)
Dear, thank you for your precious time.
I have problem in my code. Currently there is anxptected error apearing during the run. Please could you help me to fix if possible.
Thank you
Here the code in zip attached to this message
  3 个评论
Image Analyst
Image Analyst 2020-2-16
This is what I see:
>> main
Start "Simulation of broadband FWM cascade in fiber cavity"Unrecognized function or variable 'gvd_curve_pcf2'.
Error in main (line 54)
[pl_fib_dom, pl_fib_loss]=gvd_curve_pcf2;
You need to get that "gvd_curve_pcf2()" function and it looks like Walter is giving you the location of it below in his answer.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2020-2-16
http://www.codeforge.com/article/174131 has the source code for gvd_curve_pcf2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by