Can I modify a matlab Built in Function like "nwalign"
8 views (last 30 days)
Show older comments
abdulla elmourcy
on 8 Aug 2018
Commented: abdulla elmourcy
on 11 Aug 2018
The "nwalign" do a global alignment with Needleman Wunch algorithm of 2 DNA sequence input (or any other data type) by comparing them and do specific steps (delete, insert, mutation) and calculate the minimum edit distance to finally getting the 2 sequences as mush as similar to each other by minimum number of editing
the question is: can I know internally what the function does it Matlab and modify these steps of the function
0 Comments
Accepted Answer
Diwakar Ravichandran
on 8 Aug 2018
Yes, you can edit the code by typing edit function_name in your command window as per your requirement. However, it is advised that you keep a copy of the original function in case you want to revert back.
Hope this helps, Cheers!
2 Comments
Stephen23
on 8 Aug 2018
Edited: Stephen23
on 8 Aug 2018
I recommend that you do NOT edit the MATLAB file once you open it: instead immediately make a copy of it to your own user folder, and edit the copy only. You should rename the copy as well, then you can continue to use the original function too!
More Answers (0)
See Also
Categories
Find more on Oceanography and Hydrology in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!