How to run this code in matlab ?
Afficher commentaires plus anciens
Please, go to this page and help me, i don't know how to running this code
2 commentaires
Jan
le 17 Déc 2012
@Jonathan: The linked document contains beside other things this:
Find tau such that p_k=z_j+tau * d_j minimizes m_k(p_k) in 4.5 and satisfies ||p_k||=Delta_k;
Do you really expect, that a user of this forum is able and willing to do this for you?
Réponses (1)
Image Analyst
le 17 Déc 2012
1 vote
Here's some hints. The |stuff||| is done by abs(stuff) in MATLAB, and the superscript T is done by the ' (transpose) operator. Terms like x with subscript 2i-1 are done via indexing of an array, like x(2*i-1). Superscript 2 (for squaring) is done by caret 2, ^2. But you'd better read the getting started section to learn how to program in MATLAB first. We can't write the program for you - no one has time for that, and wouldn't anyway since it's your homework.
Catégories
En savoir plus sur Integration with Online Platforms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!