How to write matlab code for this equation?

 採用された回答

Image Analyst
Image Analyst 2015 年 3 月 15 日

0 投票

How about:
subarray = f(y1:yb, x1:xb);
Qs = sum(subarray(:)) - 0.5 * b^2;

その他の回答 (2 件)

christopher bernard
christopher bernard 2016 年 3 月 6 日

0 投票

How to write matlab code for this equation
ASinkc xe-jβz
ASinkc de-h(x-d)e-jβz

2 件のコメント

Walter Roberson
Walter Roberson 2016 年 3 月 6 日
A * sin(k * c) * x * e - j * beta * z
A * sin(k * c) * d * e - h * (x-d) * e - j * beta * z
However, I suspect the e- might be an exponential . If so then the forms might be
A * sin(k * c) * x * exp(-j * beta * z)
A * sin(k * c) * d * exp(-h * (x-d)) * exp( -j * beta * z)
Of course there are other possible meanings, such as
A * sin(kc * x) * exp(-j * beta * z)
It would be easier if there had been an image of the formulae available.
Image Analyst
Image Analyst 2016 年 3 月 6 日
Or even asin(kc) for the arcsine function.

サインインしてコメントする。

shabana javed
shabana javed 2017 年 11 月 19 日

0 投票

How to write a matlab code for the variable Step-size for improving conergence of Fx-LMS algorithm?

カテゴリ

ヘルプ センター および File ExchangeContour Plots についてさらに検索

タグ

タグが未入力です。

質問済み:

2015 年 3 月 15 日

回答済み:

2017 年 11 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by