Community Profile

photo

Sonima


27 total contributions since 2012

Sonima's Badges

  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

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

4 días 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...

4 días 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

4 días 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.

4 días 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...

4 días 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...

4 días ago | 2 answers | 0

2

answers

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

10 días 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...

13 días 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),:);...

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

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

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

6 meses 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)= ...

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

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

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

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

7 meses ago | 1 answer | 0

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

7 meses ago | 1 answer | 0

1

answer

Answered
how to use duration for an array with time format of "000000"
Sorry jonas and Sonia, I mistakenly posted in another place, rather than in my post! My bad.

alrededor de 1 año ago | 0

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

alrededor de 1 año 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 ...

alrededor de 1 año 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...

alrededor de 1 año 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 ...

alrededor de 1 año 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...

alrededor de 1 año 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...

casi 6 años 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...

más de 6 años ago | 1 answer | 0

1

answer

Question


How to find "Enter" between the lines of a text and replace with "Alt+Enter"?
Hello everyone. I have a text file like below: " I am good. how are you? are you there? ok that's all ...

casi 7 años ago | 1 answer | 0

1

answer