Question: The code should be saying in the command window. This is MATLAB btw >>bit100(100) ans = 98 What is wrong with the code? function C=bit100(n);

 The code should be saying in the command window. This is

The code should be saying in the command window. This is MATLAB btw

>>bit100(100)

ans =

98

What is wrong with the code?

function C=bit100(n); %n is the number of 100 bit packets sent B=floor(2rand(n,100)); P=0.030.02B; E=(rand(n,100)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!