How do I define two functions
function [Y,Ytheta,Yphi] = spharm(n,m,theta,phi)
function [A,B] = matchsize(A,B)
in the same MATLAB .m
file?
Alternatively, can I save them as two different MATLAB files (.m
files) which will talk to one another?