Effacer les filtres
Effacer les filtres

Can I modify a matlab Built in Function like "nwalign"

16 vues (au cours des 30 derniers jours)
abdulla elmourcy
abdulla elmourcy le 8 Août 2018
Commenté : abdulla elmourcy le 11 Août 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

Réponse acceptée

Diwakar Ravichandran
Diwakar Ravichandran le 8 Août 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 commentaires
Stephen23
Stephen23 le 8 Août 2018
Modifié(e) : Stephen23 le 8 Août 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!
abdulla elmourcy
abdulla elmourcy le 11 Août 2018
thanks a lot every body

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Oceanography and Hydrology dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by