finding probability in Matlab
Ältere Kommentare anzeigen
Hello,
I was given this question (1)

I did sovle it and here is the answer:

then I had to write a basic MATLAB code as given in Q2

here is my start
clc;clear all; close all;
Genes1 = randi(500,1,21) %% generate 20 out of 500 genes
Genes2 = randi(500,1,21) %% secon trail of generating
C = intersect(Genes1,Genes2) %% find the common genes
N = numel(C) %% number of common genes
my question is how to find the probablity in matlab given the code above(or different one)?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Genomics and Next Generation Sequencing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!