Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

there a component that failure during time (days=1:1000) and data is given. Each of these time has its own temperature value. how can I sort my failure data based on temperature in ascending order?

조회 수: 1 (최근 30일)
I have a failure time of a component during different time for example time=1:1:1000 days. During this 1000 days my component might fail at some days for example it might fail at day 10, or 3000 or 450 or any other day.
for example I have 800 random number between 1:1000, which are the days that the component failed for example [2 3 6 20 ... n].
Firstly how can i plot this in x and y where x is days (1:1000) and y is failure event which is constant at those times (800 random number). secondly i have another data which is same size as x (time=1:1:1000). this 1000 numbers are between range of [-10 40].(ex. aa=-10; bb=40; cc=(bb-aa).*rand(1000,1)+aa;). cc is the temperature and each element of cc is related to x (1:1000) days.(ex. cc(1,500) is the temperature of day 500. now how can i plot my failure according to cc in ascending format?
thank you

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by