Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to use an interpolated function in an analytical function
Posted 6 oct. 2020, 09:14 UTC−4 General, Equation-Based Modeling Version 5.5 2 Replies
Please login with a confirmed email address before reporting spam
Hello, A a new COMSOL user, I am currently trying to run a simulation which has to define functions from solar spectra data.
I managed to create a new function called "solar_spectrum" by interpolation of a data file (see attached file) Now, I would like to use this function in another function called "modified_spectrum".
But it doesn't seem to work. I can't even display the first function when calling "solar_spectrum(x)" in the this new function...
Can you please help ?
Thanks
Jeremy!
Attachments: