Question

Cannot read in times from excel spreadsheet and datenum is off by at least 10 seconds?

Hi all, I have an excel spreadsheet with columns of various times (time 1, time 2, minutes between time 1 and 2, time 3, time 4...

2 years ago | 1 answer | 0

Answered

Check if datetime is within a time interval and add to sequence accordingly?

Hi all, I actually figured it out on my own. For anyone who needs it in the future (I was using it for building a sequence ...

Check if datetime is within a time interval and add to sequence accordingly?

Hi all, I actually figured it out on my own. For anyone who needs it in the future (I was using it for building a sequence ...

2 years ago | 0

| accepted

Question

Check if datetime is within a time interval and add to sequence accordingly?

EDIT: I'm now looking at the isbetween function in MATLAB ___________________ Hi all, I'm a bit stuck on trying to build a...

2 years ago | 2 answers | 0

Question

Separating Matrix by Column By Pattern?

Hi all, I have count data based in time. I have a matrix that is essentially counts of an event occurring within 96 15 minut...

2 years ago | 2 answers | 0

Question

How to separate a table into sub-tables by unique categories?

Hi all, I have a table with the following categories: (1) Date (as Datetime) (2) Location (as string) (3) Value (as ...

2 years ago | 1 answer | 0

Question

Using MLE for duration data?

Hello, I have a set of duration (in hours) data and I want to find the MLE of it under the assumption that the data is distri...

2 years ago | 1 answer | 0

Question

Saving values from a loop but allocating them to a different index of a vector based on a different value?

Howdy again, So here is what I'm trying to do. I have a datetime array (format = 'yyyy/MM/dd h:mm:ss a'). I want to obtain ...

2 years ago | 0 answers | 0

Question

Cell array to string to datetime conversion, parse error.

Hello, I have a cell array of many data types. The first column stores dates and times of the format: '2016/04/16 10:06:05 ...

2 years ago | 1 answer | 0

Question

Remove cell array rows based on logical condition?

Howdy, I have a 2267x23 cell array (raw). I would like to remove rows based on the condition of a logical. Here is what...

2 years ago | 2 answers | 0

Question

Cell Array of Strings Indexing and Relabeling to Numeric Values?

Hi all, I have a cell array of strings that mark certain sites (example: 'Townsville - Crossroad Station (1234)'). I have 27...

2 years ago | 1 answer | 0

Question

Create a function to find elapsed time with string of date and times through samples?

Hi all. I have a string array of dates in the form: '2016/10/05 1:06:58 PM' or '2016/10/06 3:01:46 AM'. I am trying to w...

2 years ago | 1 answer | 1

Question

How can I get my table to display a value instead of a symbol?

Hi all, I have a table of different analysis methods and I'm trying to output the results in a table. I have the confidenc...

2 years ago | 1 answer | 0

Question

Mean function not working on vector of doubles?

Hi all, I have a vector of 1000 doubles (no NaNs at all) and I'm trying to find the mean of my vector but I'm only getting Na...

3 years ago | 0 answers | 0

Question

Looping through column rows and filling another matrix by columns?

Hi all, I am trying to find ranks with a specific method for failure times with censoring. I am able to go through my loop a...

3 years ago | 0 answers | 0

Question

Indexing and filling matrices?

Hi again, I have the following code to compute the Kaplan-Meier estimates with right-censoring: T = size(time); ...

3 years ago | 0 answers | 0

Question

I have two matrices that are related and I need to sort one matrix while sorting the corresponding matrix the same way.

Hi again, I have two matrices, A and B. A is failure times and B is censoring (all 0s and 1s). I need to sort the failure t...

3 years ago | 1 answer | 0

Question

I have two matrices and I want to take the minimum of them and then set the value in the minimum matrix to 0 if it comes from matrix A and 1 if it comes from matrix B. How do I do this?

Hi all, I have two matrices of random variable from specific distributions with specific parameters. Consider them matrix A ...

3 years ago | 1 answer | 0

Question

What can be used in lieu of the Database Toolbox for MATLAB Online?

I am working on a code and only have access to MATLAB Online. I need the capabilities of the MATLAB Database Toolbox but it's n...

3 years ago | 1 answer | 0

Question

Using MATLAB Publishing and Publishing Mark-Up, can I call my functions in the mark-up to limit the amount of code being published?

I'm trying to write a script to run and output all of the figures and analysis (being output the the command window in strings) ...

3 years ago | 2 answers | 0

Question

Output Command Window and Figures to File with MATLAB Online?

Hi all, I would like to export my command window and figures for my data analysis program to a file (probably a text file). ...

3 years ago | 2 answers | 0

Question

Need to counter number of repeats in a vector and store in a matrix with repeated value and amount of times repeated.

Hi all, So my problem is this: I have a vector of failure times. I need to go through this vector and find all the repeatin...

3 years ago | 1 answer | 0