How can I calculate FVF ?

1 visualizzazione (ultimi 30 giorni)
Mallouli Marwa
Mallouli Marwa il 17 Lug 2020
Commentato: Star Strider il 17 Lug 2020
Hi
How can I calculate FVF ?
bf = 355.5+-7% * bf;
bm = 34.4+-20% * bm;
FVF = bf / (bf + bm);
I want to find the range variation of FVF when bf should be maximized and bm should be minimized.

Risposte (1)

Star Strider
Star Strider il 17 Lug 2020
I am not certain what you want.
Try this:
bf = 355.5+[-1 1]*355.5*0.07;
bm = 34.4+[-1 1]*34.4*0.2;
FVF = bf./(bf.*bm);
.
  2 Commenti
Mallouli Marwa
Mallouli Marwa il 17 Lug 2020
I want all the variation vector of FVF not only the max and min
Star Strider
Star Strider il 17 Lug 2020
Try this:
bf = 355.5+[-1 1]*355.5*0.07;
bm = 34.4+[-1 1]*34.4*0.2;
[BF,BM] = ndgrid(bf,bm);
FVF = BF./(BF.*BM)
producing:
FVF =
0.036337209302326 0.024224806201550
0.036337209302326 0.024224806201550
However if you want the range between those limits, this works:
bf = 355.5+[-1 1]*355.5*0.07;
bm = 34.4+[-1 1]*34.4*0.2;
[BF,BM] = ndgrid(min(bf):max(bf),min(bm):max(bm));
FVF = BF./(BF.*BM);
figure
surf(BF, BM, FVF)
grid on
xlabel('bf')
ylabel('bm')
zlabel('FVF')
view(-120,20)
.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by