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.

Expression_needed_for_the_range?

Please login with a confirmed email address before reporting spam

Can_you_explain_this_syntex_code_:::::::::::0 10^range(2,0.1,7.5)https://drive.google.com/file/d/12zdpQH0W-HS6kKLeLsAHQ9mEWALYtixU/view?usp=sharing


1 Reply Last Post 17 nov. 2021, 06:22 UTC−5

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 17 nov. 2021, 06:22 UTC−5

10^range(2,0.1,7.5) will create an incrementing set of values as follows:

10^2 10^2.1 10^2.2 10^2.3 . . . 10^7.3 10^7.4 10^7.5

I am guessing you know that ^ means "to the power of"...

10^range(2,0.1,7.5) will create an incrementing set of values as follows: 10^2 10^2.1 10^2.2 10^2.3 . . . 10^7.3 10^7.4 10^7.5 I am guessing you know that ^ means "to the power of"...

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.