photo

Sofy


Last seen: 2年以上 前 2017 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2
  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


Eigenvalues by power method
hello everyone, is there's anyone could help me to solve this problem using matlab code <</matlabcentral/answers/uploaded_fil...

2年以上 前 | 2 件の回答 | 0

2

回答

質問


this code is for calculating the probability of attack success represent for the equation A, i need to change it to calculate the probability of attack success for the equation B:where q =[0.1 ,0.2 , 0.3, 0.4 , 0.5] and p= 1-q and Z= 6
the code for the Eq.A in the follwing: function y=AttackerSuccessProbability(q,z) p=1-q; lambda=z.*q./p; sum=1; for k=0:m...

5年以上 前 | 1 件の回答 | 0

1

回答

1

回答

質問


how to get the result of this code in a table like that table attached ' with q=[0.1, 0.2, 0.3, 0.4, 0.5] and z =5
<</matlabcentral/answers/uploaded_files/99445/Unnamed%20QQ%20Screenshot20171225152604.jpg>> function [y]=Attack(q,z) ...

7年弱 前 | 0 件の回答 | 0

0

回答

質問


hello i am asking about how to solve this error? ..Note that input : q=[0.1,0.2,0.3,0.4,0.5] and z=[0,1,2,3,4]
function y=c(q,z) p=1-q; lambda=z.*q./p; sum=1; for k=0:max(z) poisson=exp(-lambda); for i=1:k ...

7年弱 前 | 1 件の回答 | 0

1

回答

質問


how To change this C++ code to matlab code ?
#include <math.h> double AttackerSuccessProbability(double q, int z) { double p = 1.0 - q; double lambda = z * (q / ...

7年弱 前 | 2 件の回答 | 0

2

回答