Info

This question is closed. Reopen it to edit or answer.

How to get out significance from a matrix with 4 time points, control and sample(triplicates), and change numbers in the matrix where the triplicates contains zeroes which should be numbers or just use zeroes?

1 view (last 30 days)
I have a problem where I have a matrix where I have for time points for control and sample. For each time point I have triplicates and need help how to, in a easy way, just use two of the triplicates when there are two zeroes in a triplicate when calculating the significance between the control vs sample.
e.g.
control: time point1: 0 0 21.21299977
time point2: 0 0 23.7838671
sample: time point1: 24.63914858 23.63887248 24.44113774
time point2: 23.59605141 22.74691856 NA
So just want to use the two zeroes in the controls
  2 Comments
the cyclist
the cyclist on 7 Sep 2014
In addition to describing this in words, can you actually create MATLAB arrays that indicate the input you have and the output you expect? "Just want to use the two zeroes" doesn't make clear to me what you want for output.
Jon
Jon on 9 Sep 2014
For output I expect a significance value when comparing the controls with samples. So if I take the first time point I want to test the control, [0 0] ,against the sample, [24.63914858 23.63887248 24.44113774]. That isn't the hard part, the problem is that a want to get rid of the numbers where there are two zeroes in a triplicate and do this for all the variables where I have this problem (have around 820 variables in total)

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!