How to run this code in matlab ?

Please, go to this page and help me, i don't know how to running this code

2 commentaires

Jan
Jan le 17 Déc 2012
Modifié(e) : Jan le 17 Déc 2012
Is there any chance that we could guess, what "Algorithm 7.2" is? I cannot even read the magic characters in your formula.
Jan
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?

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
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!

Translated by