How to write matlab code for this equation?

 Risposta accettata

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

Più risposte (2)

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

2 Commenti

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.
Or even asin(kc) for the arcsine function.

Accedi per commentare.

shabana javed
shabana javed il 19 Nov 2017
How to write a matlab code for the variable Step-size for improving conergence of Fx-LMS algorithm?

Categorie

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by