Community Profile

photo

Sonima


31 total contributions since 2012

Sonima's Badges

  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Answered
What happens to a running program when my computer switches to Hibernate?
Hi! Is it possible to hiberation Win 10 with a Matlab code?

12 Monate ago | 0

Question


append a text file to structure
Hi All. I have a structure generated from a matlab simulation which I want to append the txt. Any idea how should I do this?

12 Monate ago | 1 answer | 0

1

answer

Question


convert min, hours to 00:00:00 format
Hi all, How can I convert a number to duration format of 00:00? For example, I want to the followings: 15 to 15:00 45...

etwa ein Jahr ago | 2 answers | 0

2

answers

Question


Return index of datetime column in a table
Hi! I have a very long table which I want to return index to specific raws. >> head(HData) Time ...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


Problem with retime function
Hello all. I want to use retime to convert a M15 time table to for example a H1 table. DateTime Open ...

etwa ein Jahr ago | 1 answer | 0

1

answer

Answered
Try catch together with dbstop
Hi and thanks. keyboard() would just pause the execution and not a breakpoint on error line! keyboard() is almost the same as ...

etwa ein Jahr ago | 0

Question


create a time table from specific time date format
Hello! I have a historical data that I need to import and create a timetable from. the date and time are not in the standard fo...

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


How do I read a text file and convert the dates and time?
Hi! I have a text file that includes the following: 2015-06-18 12:00

etwa ein Jahr ago | 2 answers | 0

2

answers

Question


Approximately equal sign in matlab plot
Hi! I want to plot approximately equal sign on one axe of my plot in Matlab.

etwa ein Jahr ago | 1 answer | 0

1

answer

Question


Run a loop every hour regardless of its calculation time!
Hi All I want to run a look evey hour and do some math inside the loop. one solusion is to use tic/toc to get the math time an...

etwa ein Jahr ago | 2 answers | 0

2

answers

Question


Try catch together with dbstop
Hi All, I want to use Try Catch together with dbstop. What I want to do is to email ME.message and then breakpoint on error wit...

etwa ein Jahr ago | 2 answers | 0

2

answers

Answered
Find non unique string in a table
T.Ticket(groupcounts(T.Alpha)>1)

etwa ein Jahr ago | 0

Question


Find non unique string in a table
Hi! I have a table "TT" which I want to return the "Ticket" of non unique string in the "Alpha". TT = 8×2 table Ti...

etwa ein Jahr ago | 3 answers | 1

3

answers

Answered
Removing weekends and holidays from a TimeTable
Hi! This works and remove the weekends from a TimeTable, but still gaps showed up on the plot! TT = TT(~isweekend(TT.Time),:);...

mehr als ein Jahr ago | 0

Question


How to remove weekend from a TimeTable Plot
Hi! I want to plot CandleStick pattern based on a TimeTable I have. In this case, I want to remove the gap on my chart caused b...

mehr als ein Jahr ago | 0 answers | 0

0

answers

Question


ismember 0×0 empty logical array to logic
Hi All, I have an array "A = [1 2 3 4 5 6]" which its length reduces in a loop if ~ismember(A,ID) do this else do t...

mehr als ein Jahr ago | 2 answers | 0

2

answers

Question


How to merge a datetime array with a table
Hello all, I have a "datetime array" and a table which I want to merge. DT = 173×1 datetime array NaT ...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


Indexing on array !
Hello! I have an array (a) which has 1M values. Array (b) should be calculated based on array (a) and last value in b. b(20)= ...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Answered
Make Candle chart more Readable.
Hi! This does not work anylonger. Is it possible to define colors for Bullish/Bearish candles? In addition, is it possible to...

mehr als ein Jahr ago | 0

Answered
how do i check if line in plot exists and if yes delete it otherwise nothing
Hi! I want to do the same, delete a line if exist in a plot in a fuction. I used the suggeste code if ishandle(line_handle) ...

mehr als ein Jahr ago | 0

Question


How to replace space with zero in a table?
Hi! I want to replace space with zero in the H4.Time without loop. K>> head(H4) ans = 8×7 table Date Ti...

mehr als ein Jahr ago | 2 answers | 0

2

answers

Question


Error in histogram plot including datetime
Hi! I want to plot a histogram in a plot which x-axis is a datetime vector. However i got this error: Error in histogram (line...

mehr als ein Jahr ago | 1 answer | 1

1

answer

Question


MACD(50, 90,9)
Hi! I want to calculate MACD(50, 90,9), however I don't know how to specifiy the "50" and "90" values. Matlab has default MACD ...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


find a string in a Date table column and return its index
Hello! I have a table containing a Date column as the following: DTM15.Date(1:10,:) ans = 10×10 char array ...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


How to clear only a part of the plot
Hi! I have a figure with multi lines plotted in different steps. plot(a); hold on; plot(b); plot(c); plot(d); I want to ...

etwa 2 Jahre ago | 2 answers | 0

2

answers

Question


Import date, time together with candlestick data for Candlestick chart
Hello all. I want to import historical data in Matlab and later plot Candlestick chart. There are several examples available on...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Answered
movavg function lead and lag meaning
Hi! If one assign both lag and lead to for instance 20, then Matlab will give the same result as when one set EMA20 is most of ...

etwa 2 Jahre ago | 0

Question


"SimulatedStock.mat" for Candlestick chart
Hello! I want to try the example on Candlestick chart that is available <https://se.mathworks.com/help/finance/candle.html he...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


How to Plot Horizontal errorbar
Does anybody knows how can I plot horizontal error bars in MATLAB? I am familiar with the errorbar function, which allows to plo...

etwa 7 Jahre ago | 2 answers | 0

2

answers

Question


How to hold colorbar in contourf plot
Hello everyone I want to plot a contorf plot in logaritmic scale. first I want to plot in normal to provide colorbar, then ho...

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Load more