Question

Running a script in a repeated time interval

I have a matlab file which i saved as sos.m. I run this script by clicking the run button in the matlab program. My question is ...

3 years ago | 2 answers | 0

Question

finding the 10 biggest values in a cell array

I have a cell array 10x10 that consists of of several matrices (1000x1) with integers. I want to find the 10 biggest integers in...

3 years ago | 2 answers | 0

Question

filtering out two months with a code

dateless = Dates(nomatch); datelike = Dates(~nomatch); dateliketime=datetime(datelike); liatime=dateliketime.Month ==...

3 years ago | 2 answers | 0

Question

filtering problem of dates

circa1 = xlsread(fileToRead); [numOnly, textOnly, rawDataInCellArray] = xlsread(fileToRead); Dates=textOnly(~cellfu...

3 years ago | 1 answer | 0

Question

zoom in function figure

hi, my code shows me 10 different figures and for each figure I have to zoom in. This is very time consuming. Can I display the...

3 years ago | 1 answer | 0

Question

displaying date as title of figure

hi, i want to display a date as title of a figure. caption = sprintf(' %.3f', datestr(q{:,1}(1,1))); This q cell array c...

3 years ago | 2 answers | 0

Question

import time into matrix and display as minutes after midnight

hi guys, I have imported an excel file into matlab. 10:00 is displayed as 0.416666666666667. I want to display this as minutes ...

3 years ago | 1 answer | 0

Question

Plot vertical lines in a figure with a certain distance

Hi, I would like to plot vertical dotted lines on a figure. These should be placed after every 60 units on the x axis.

3 years ago | 1 answer | 0

Question

changing minutes after midnight into a datetime array

Suppose you have the matrix minutesaftermid which contains integers that represent the minutes after midnight, e.g. 1,2,3,4,5,6,...

3 years ago | 3 answers | 0

Question

Finding the row number with two conditions in a matrix

outData=[733458 91 1.01510000000000 1.01680000000000 1.01490000000000 1.01520000000000 1.01585000000000 733458 112 1.01...

3 years ago | 2 answers | 0

Answered

displaying multiple graphs from x number of matrices

i solved it. i just need to put figure in the loop

displaying multiple graphs from x number of matrices

i solved it. i just need to put figure in the loop

3 years ago | 0

| accepted

Question

displaying multiple graphs from x number of matrices

Hi, I want to display multiple graphs according to what is in cell X. If cell K has x number of matrices then those x number of...

3 years ago | 1 answer | 0

Question

Filtering dates from matrix

I have got a cell array with 'out' 1x1 which has a matrix with one million rows and 6colummns. First row contains date serial nu...

3 years ago | 1 answer | 0

Question

Long time to load 40 gig file

Hi, I have a gaming laptop which I recently bought for 4000€. Massive CPU and lots of ram. However when I want to load a 30 gig...

3 years ago | 2 answers | 0

Question

plotting live data in matlab

hi, i get data imported every minute via excel. I want to plot this data as realtime in a graph so it gets updates automaticall...

3 years ago | 0 answers | 1

Question

drawing two different graphs on the same figure

I want to draw two plots on the same graph. The first graph has 1279 rows which are dislayed in the graph in the following manne...

3 years ago | 1 answer | 0

Answered

plotting a figure with specific x axis

it doesnt work, it draws something in another figure which is already opened. i need it to be drawn into a new figure

plotting a figure with specific x axis

it doesnt work, it draws something in another figure which is already opened. i need it to be drawn into a new figure

3 years ago | 0

| accepted

Question

plotting a figure with specific x axis

I have already opened a figure and i want to plot a new figure without being in the old one. For that purpose I want to display ...

3 years ago | 2 answers | 0

Question

putting a matrix into a cell array

i have a matrix and i want to put that matrix into a cell array with the coordinates 1,1. a{1,1}=matrix

3 years ago | 1 answer | 0

Question

putting several matrices as one

i have got one matrix with 2 columns and another with 5. i want to put them togehter as one matrix with 7 columns. overall the r...

3 years ago | 2 answers | 0

Question

Cell array filtering date and time using datenum

I have a cell array that consists of dates and time in the following format '30/12/2015 15:54:30'. Using this code num...

3 years ago | 2 answers | 0

Question

divide cell array into date and time columns

I have a cell array with 6 columns and 10000 rows. The first column contains date and time in the format eg. '31/12/2001 12:57:0...

3 years ago | 2 answers | 0

Question

filter matrix according to column

i have a matrix 10x60. It consists of entries with the number 0 or 1. I want to filter out all the rows, where the last five col...

3 years ago | 1 answer | 0

Question

display current time in minutes

hi, how can I display current time as a multiple of 60, meaning 1 o clock is displayed as 60, 2 o clock as 120, 3 o clock as 18...

3 years ago | 1 answer | 0

Question

convert excel dateserial number to matlab serial number

hi guys, i have an excel file that displays the following dateserial number 19300101. this includes the date as well as time. h...

3 years ago | 1 answer | 0

Question

Filter only specific month from date serial number

Hi guys, I got a column with a date serial number and I would like to filter only the month of march. What is the coding for th...

3 years ago | 1 answer | 0

Question

textscan an url file

Hi, I have the following url (see below). Once I get it I want to use textscan in such a way that it gives me all the dates whi...

3 years ago | 1 answer | 0

Answered

bsxfun with AND condition

no it doesnt work. it gives me one set that is less than compare 2 and another set that is less than compare 1. after that it co...

bsxfun with AND condition

no it doesnt work. it gives me one set that is less than compare 2 and another set that is less than compare 1. after that it co...

3 years ago | 0

Question

bsxfun with AND condition

How can I use a code to see if compare1<q{x,y}<compare2 Basically the lt/gt function combined with an and function? bsxf...

4 years ago | 2 answers | 0

Answered

drawing a vertical line in a plot if it is contained in the range

the way to tackle this problem is to see if the above datetime array falls between the two dates (01-Sept-2015 00:00:00 till 5-A...

drawing a vertical line in a plot if it is contained in the range

the way to tackle this problem is to see if the above datetime array falls between the two dates (01-Sept-2015 00:00:00 till 5-A...

4 years ago | 0