# Sonima

**Statistics**

RANK**7 163**

of 244 334

REPUTATION**4**

CONTRIBUTIONS

**24** Questions

**7** Answers

ANSWER ACCEPTANCE **
75.0%
**

VOTES RECEIVED**3**

RANK

of 17 075

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

What happens to a running program when my computer switches to Hibernate?

Hi! Is it possible to hiberation Win 10 with a Matlab code?

ungefär 2 år 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?

ungefär 2 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 2 år ago | 2 answers | 0

### 2

answersQuestion

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

ungefär 2 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 2 år ago | 1 answer | 0

### 1

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

ungefär 2 år 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...

ungefär 2 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 2 år ago | 2 answers | 0

### 2

answersQuestion

Approximately equal sign in matlab plot

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

ungefär 2 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 2 år ago | 2 answers | 0

### 2

answersQuestion

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

ungefär 2 år ago | 2 answers | 0

### 2

answersQuestion

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

ungefär 2 år ago | 3 answers | 1

### 3

answersRemoving 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),:);...

mer än 2 år 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...

mer än 2 år ago | 0 answers | 0

### 0

answersQuestion

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

mer än 2 år ago | 2 answers | 0

### 2

answersQuestion

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

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

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

mer än 2 år ago | 1 answer | 0

### 1

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

mer än 2 år ago | 0

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

mer än 2 år 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...

nästan 3 år ago | 2 answers | 0

### 2

answersQuestion

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

nästan 3 år ago | 1 answer | 1

### 1

answerQuestion

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

nästan 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 3 år ago | 2 answers | 1

### 2

answersQuestion

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

mer än 3 år ago | 1 answer | 0

### 1

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

mer än 3 år 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...

mer än 3 år ago | 1 answer | 0

### 1

answerQuestion

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

ungefär 8 år ago | 2 answers | 0

### 2

answersQuestion

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

nästan 9 år ago | 1 answer | 0