Info

This question is closed. Reopen it to edit or answer.

how to simulate this on matlab

1 view (last 30 days)
ram singh
ram singh on 28 Sep 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Pf(B,ts,Poff) = Poff Q((lembda - 2*ts*B*sigma1^2) / (squareroot(4*ts*B*sigma2^2 )) )
B = 2.2*10^6
Ts = [0 to 4 ms]
Poff = alpha/ (alpha + beta)
Q = Q(x) function ()
  2 Comments
Star Strider
Star Strider on 28 Sep 2015
You need to describe what you want to do, what your variables are (scalars, vectors, matrices, arrays) and what your functions do.
ram singh
ram singh on 29 Sep 2015
Pf is a function of B, ts and Poff and i want a plot between Pf(y axis) and ts (x axis).
alpha and beta varies between 0 to 1 (for plot we have to fix alpha and beta value )

Answers (1)

Walter Roberson
Walter Roberson on 28 Sep 2015
B = 2.2*10^6;
lembda = something
sigma1 = something
sigma2 = something
Pf = @(B, ts, Poff) Poff * Q((lembda - 2*ts*B*sigma1^2) ./ (sqrt(4*ts*B*sigma2^2)) );

Community Treasure Hunt

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

Start Hunting!