Hi Rishika Yadav,
From my understanding of your question, I hope this documentation can help you.
The following documentation has various syntax's for saving different files as a geotif image.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!