Can you be specific about exactly how you want the output to be? Do you want a string? A numeric vector? Just something that displays to the screen in a certain way?
See i am defining an equation in which I have to insert x,y dimension and these pairs are actually dimensions which are not working without comma(,). So I need a pair which returns (2,5) or other random pair .
Can you please state in MATLAB syntax what your next step requires this pair of values to look like? It is very strange for MATLAB code to expect numeric values in something other than numeric format.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.