https://www.octave.org/license.html
In particular, since you mentioned you are just learning about this Free Open Source Software thing, and you are interested in commercialization of your software, I strongly recommend you look at the link on that page to the description of the GNU General Public License [1], and especially the FAQ [2] which should be able to answer many of the basic questions of what using GPL software does and doesn't permit.