photo

Sofy


Last seen: 2 years 前 自 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 2 个回答 | 0

2

个回答