So I wrote the following in a script coding window:
function [n] = n(x) syms q [n]=(q^(x/2)-q^(-x/2))/(q^(1/2)-q^(-1/2)); end
however I named the