Community Profile Artyom

BSEU

Active since 2012

Statistics

• • Content Feed

View by

Question

Face recognition and image normalization
How can I normalize image to align the eyes with a horizontal line. EyeDetect = vision.CascadeObjectDetector('EyePairBig');...

circa 7 anni ago | 2 answers | 0

2

Question

Convert string to cell array
How to convert string a b 3 into cell array {'a' 'b' 3}

oltre 7 anni ago | 4 answers | 2

4

Question

Concatenate cell array into one string
Hi. I want to concatenate a cell array {'a', 'b', 5, []} in a string 'a b 5'. How can I do this?

oltre 7 anni ago | 1 answer | 0

1

Question

Find row with NaN in it.
I have variable X. X=[2 4 6; 4 5 NaN 3 NaN NaN 5 8 12 3 8 NaN]; How to find any r...

oltre 7 anni ago | 4 answers | 1

4

Question

How to stop ode integration?
I'm trying to solve a differential equations system with ode45 solver. But sometimes integration takes too much time because one...

circa 8 anni ago | 1 answer | 0

1

Stock market price forecasting
Here you are: if C(t+1)-C(t)>0 buy else sell end

circa 8 anni ago | 2

Question

Hi. I have a lot of data in .txt files. Now I'm using this code to read and import data to matlab: fid=fopen(Data); Res...

circa 8 anni ago | 1 answer | 0

1

Question

Combine two cell arrays
I have two cell arrays: X{1,1}=[18;21;17;20;19]; X{1,2}=cellstr(['m';'f';'m';'m';'f']); How to create new cell array li...

oltre 8 anni ago | 2 answers | 0

2

Question

I have string line: x='abc123(xyz456)' How to read information only in brackets, to have result: y='xyz456'.

oltre 8 anni ago | 3 answers | 0

3

Question

How to find unique lines in cell arrays
How to find unique lines in the next cell array: 15 'm' 18 'm' 15 'm' So the result will be: 15 'm' 18 'm'

oltre 8 anni ago | 1 answer | 0

1

Question

C++ std::vector transferring
How can I send vector<vector<double>> result; matrix to matlab? Should I use memcpy: memcpy((void *)mxGetPr(A), ??? , sizeof...

oltre 8 anni ago | 0 answers | 0

0

Question

Calling Matlab from C++
I have some data in 2d std::vector for (int j=0; j<2; j++){ result.push_back(vector<double>()); for (int i=0; i<10; i++)...

oltre 8 anni ago | 1 answer | 1

1

Draw a line between two points
Thank you guys.

oltre 8 anni ago | 0

Question

Draw a line between two points
Hi. I have three points [5.2 0 0 0 9.9 0 0 12.1]. How to draw a line through the first two points and find is the third point (1...

oltre 8 anni ago | 4 answers | 0

4

Question

Conditional Formatting in Excel 2010
Hi. How to apply conditional formatting in Excel 2010? xlCellValue = 1; Excel.Selection.FormatConditions.Delete; Excel....

circa 9 anni ago | 2 answers | 0

2

Question

Conditional Formatting in Excel
How to apply conditional formatting in Excel. Here is my code: file='Result.xlsx'; data=rand(5,5); range='B2:E5'; file...

circa 9 anni ago | 0 answers | 0

0

Question

Colormap for area graphic
Hi everyone. I have area and line graphics in one window [ax,h1,h2] = plotyy(x, y1, x, y2, @area, @line); How to set colo...

circa 9 anni ago | 0 answers | 0

0

Question

All possible combinations of 2 vectors.
Hi everyone. I have one vector and one number. For example [1 3 5] and 0. How do I generate all possible combinations? Lik...

circa 9 anni ago | 4 answers | 1

4

Question

Walsh piecewise approximation function
Hi everyone. Is there any function or .m file to compute Walsh piecewise continuous approximation function?

oltre 9 anni ago | 0 answers | 0

0

Question

How to remove text strings from .dat file
Hi everyone. There is a .dat file, where the first raw of it: #component = 1 embedding = 1 Then 20x3 matrix of numbe...

oltre 9 anni ago | 1 answer | 0

1

Question

Autoregressive model using Yule-Walker method
Hi everyone. I'm trying to find autoregressive coefficients for the signal using Yule-Walker method and Levinson-Durbin recur...

oltre 9 anni ago | 1 answer | 0

1

Question

Pointer on the graph.
Hi everyone. There is 1x100 array. Is there any function that can show me (for example with pointer or another color) on the gr...

oltre 9 anni ago | 1 answer | 0

1

Question

One formula in Matlab.
Hi everyone. Is there any function in Matlab that can easily calculate such kind of formula (Y[i]-Y[i-1])/Y[i-1] ?

oltre 9 anni ago | 1 answer | 0

1

Find row in matrix.
Ok, and if we have: A=[3 3 2011 3 6; 22 3 2011 7 3; 23 3 2011 6 4; 24 3 2011 1 3; 25 3 2011 5 4; 26 3 20...

oltre 9 anni ago | 0

Question

Find row in matrix.
Hi, everyone. There are some data in array: A=[3 3 2011;22 3 2011;23 3 2011;24 3 2011;25 3 2011;26 3 2011;27 3 2011]; ...

oltre 9 anni ago | 3 answers | 2

3

Thanks. Maybe you know how to do the reverse process - from   to ?

oltre 9 anni ago | 0

Question

Hi everyone. Is there any function that converts "complex" number for example  to constituent elements [1 2 3] ?

oltre 9 anni ago | 2 answers | 0

2

Question

Hi everyone. I have some vector for example x=[0;0;2;2;1;0;0;2;0]. How can I add a new vector (for example y=[43;43;34;34;34]) ...

oltre 9 anni ago | 3 answers | 0

3

Question

Hi, everyone. I have .txt data file. Each new line begins with date in format mm/dd/yyyy, for example 06/25/2012. Part of the c...

oltre 9 anni ago | 1 answer | 0