2 easy matlab questions

0 comments

  1. You want to know the probability of a specified outcome when summing two (six-sided) dice.
    1. Use for loops to determine all the possible combinations of sums of two dice. Your program should return two arrays:
  • A list of the possible outcomes (sums, 2-12)
  • A list of the corresponding probabilities for each outcome (percent of all possible outcomes that correspond to (2-12)

2)

  1. In a phase I clinical trial for a new drug, one of the main goals is to determine the recommended dose of the drug for phase II of the trial. Typically, the drug is tested with a low dose, and if deemed safe, the dose is escalated (increased) until toxicity becomes too high. A common pattern of dose escalation is to increase the dose by 67% after the first round, then 50% after the second round, 40% after the third round, and 33% after each successive round.

Write a MATLAB script to determine the dose escalation pattern for a new drug being tested for cancer treatment. The starting dose is 0.2 mg/kg.

undefined

Create an array dose, which consists of the first 10 doses.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}