Hi,
You can refer to the approaches given in the solution of the following MATLAB answer to resolve your issue:
I hope this helps to resolve your query.
Thanks,
Muskan
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!