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 个评论

Jan
Jan 2012-12-17
编辑:Jan 2012-12-17
Is there any chance that we could guess, what "Algorithm 7.2" is? I cannot even read the magic characters in your formula.
@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?

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2012-12-17

1 个投票

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.

类别

帮助中心File Exchange 中查找有关 Integration with Online Platforms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by