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 ...

ongeveer 2 jaar 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

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

bijna 3 jaar 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...

bijna 3 jaar 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...

ongeveer 3 jaar 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...

ongeveer 3 jaar ago | 0

Question

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

I have plotted a graph with the command line: plot(x/y) Variable x is a datetime array from 01-Sept-2015 00:00:00 till 5...

ongeveer 3 jaar ago | 1 answer | 0

Answered

changing the x axis candle stick chart

no, datetick wont allow me to insert my prespecified x-axis (variable tt). is there any other way to integrate this?

changing the x axis candle stick chart

no, datetick wont allow me to insert my prespecified x-axis (variable tt). is there any other way to integrate this?

ongeveer 3 jaar ago | 0

Question

changing the x axis candle stick chart

drawing this candle stick chart gives me the following error candle(col2,col3,col4,col1,'b',tt,'dd-MM-yyyy HH:mm:SS') Er...

ongeveer 3 jaar ago | 3 answers | 0

Question

joining two different datetime arrays

Assume datetime({'Mon, Apr-25-16';'Fri, Mar-25-1'},'InputFormat','eee, MMM-dd-yy') datetime({'13:00; 14:23'},'InputForm...

ongeveer 3 jaar ago | 2 answers | 0

Answered

importing excel file time format

I have attached a sample. when I import the file then i get decimals instead of time numbers hh:mm. My purpose is to convert the...

importing excel file time format

I have attached a sample. when I import the file then i get decimals instead of time numbers hh:mm. My purpose is to convert the...

ongeveer 3 jaar ago | 0

Answered

importing excel file time format

matlabtime=[datestr(numOnly(:,1),'HH:MM')]; that gives me a char file. i cannot convert it using the formula below. ...

importing excel file time format

matlabtime=[datestr(numOnly(:,1),'HH:MM')]; that gives me a char file. i cannot convert it using the formula below. ...

ongeveer 3 jaar ago | 0

Question

displaying a date variable in an email

I got a variable DATE=23.03.1955 in Matlab. I want this variable to be displayed in the subject field of the email or the text m...

meer dan 3 jaar ago | 1 answer | 0

Question

clicking on a link in matlab browser without using the mouse

assume the following code url = 'http://www.google.com'; >> web(url) How can I access the gmail link in that website wit...

meer dan 3 jaar ago | 2 answers | 0

Question

importing excel file time format

suppose the following cell array being imported from the excel file 'Date' 'Time' 'Date' '...

meer dan 3 jaar ago | 5 answers | 0

Question

Drawing a verticle Line in a candle chart

assume the following candle chart candle(col2,col3,col4,col1) How can I draw a verticle line intersecting the x axis on...

meer dan 3 jaar ago | 1 answer | 0

Question

Finding a row with a certain condition

Assume I have the following matrix. 733458 91 1.01510000000000 1.01680000000000 1.01490000000000 1.01520000000000 1.015850...

meer dan 3 jaar ago | 2 answers | 0

Question

run a script at a certain time

is there a function to run a script lets say every day at 15:00 ? i just want an autoclicker or any other method to execute the ...

meer dan 3 jaar ago | 1 answer | 0

Question

datetick error message when displaying dates on the x-axis

I got the datetime array t defined as below. '19-Jan-2006 05:32:00' '19-Jan-2006 05:53:00' '19-Jan-2006 06:14:00' ...

meer dan 3 jaar ago | 1 answer | 0

Question

fusing two cell array columns into one

SUppose I have two different cell arrays. How can I fuse these two into one single cell array column so that i get 19-Jan-2006 0...

meer dan 3 jaar ago | 1 answer | 0

Answered

transforming minutes into time

thanks but I need it as cell array with 05:10 not 5:10. I have to transform the charr to cell array. how do i do that

transforming minutes into time

thanks but I need it as cell array with 05:10 not 5:10. I have to transform the charr to cell array. how do i do that

meer dan 3 jaar ago | 0

Question

transforming minutes into time

let col1 contain the following values 905 990 1117 1228 1306 16 149 211 276 347 418 478 ...

meer dan 3 jaar ago | 3 answers | 0