Community Profile

photo

Donghui Sun


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Question


Chinese word becomes messy code when using fastinsert for the MySql
I need to read some records from a table in mysql and then write into another table. First, I use the code to read records: ...

10 years ago | 0 answers | 0

0

answers

Question


Matlab写MySQL时中文乱码,how to fix it
我需要从MySQL的一张表中读出数据,然后再写入另外一张表中。 cursor = fetch(conn, sqlquery); 这句代码可以正常读到表中的数据,其中的中文也是正常的。 然后我用下面的代码为读到的数据加一些内容,写到另外一张...

10 years ago | 0 answers | 0

0

answers

Question


How to query and insert into mysql.
According to my application, I need to copy some records from a table into another table in mysql. For example, I have two tabl...

10 years ago | 0 answers | 0

0

answers

Question


Change one specified axes to current axes when two axes exists
Just as the following image shows, two axes exists in the figure, whose tag are axes_query and axes_output , respectively. I wa...

10 years ago | 1 answer | 0

1

answer

Question


An error occurs when setting an axes to current axes.
In my Matlab GUI CBIR application, a figure have two axes, whose tag are axes1 and axes2, respectively. The first step, I show...

10 years ago | 1 answer | 0

1

answer

Question


How to display a lot images on a axis?
I have implemented a CBIR engine using Matlab.In the last stage, I need to display the retrieval results on an axis. But what sh...

10 years ago | 1 answer | 0

1

answer

Question


What should I do to display some information multi-line on the static text in the GUI?
I want to display some information on the static text compoment in the multi-line on the GUI.I use the loop: for i = ...

10 years ago | 1 answer | 0

1

answer

Question


How write a struct into a text file?
I have a 100-by-1 struct array, named fInfo. fInfo have four fields:a1,a2,a3,a4. For example, the fInfo(1,1) is fInfo(...

10 years ago | 1 answer | 0

1

answer

Question


What should I do if I want to rotate a line?
For example, we have line : y = 2*x; I want to rotate the line by 30 degrees in a counterclockwise direction. What should I d...

10 years ago | 1 answer | 0

1

answer

Question


How to change a curve and its barbs into a line?
<</matlabcentral/answers/uploaded_files/738/straight.jpg>> Just like the figure shows, the top filament (AB), has several bar...

10 years ago | 0 answers | 0

0

answers

Question


Confusion in the tamura texture directionality code
I have some codes to calculate tamura texture directionality. The code likes that: % code function [ Fdir ] = tamur...

10 years ago | 0 answers | 1

0

answers

Question


Calculate the image gradient
I use the function imgradientxy to get the Gx and Gy firstly. Then obtain the direction of the gradient. some codes like: ...

10 years ago | 2 answers | 0

2

answers

Question


What should I do to add a new row and a new column to a matrix?
Just ad the title shows, I have a matrix, for example M with the size 3-by-4. The M is [1 2 3 4;5 6 7 8;1 2 3 4] What should...

10 years ago | 2 answers | 0

2

answers

Question


How to transform a broken line into a simple line with the same length?
Just as the question title shows, I want to convert a broken line into a line with same length.The example image is here. <ht...

10 years ago | 1 answer | 0

1

answer

Question


How to create cell in the loop?
I create a struct each loop and want to use a cell to store these structs.I have no idea to implement the issue. For example:...

10 years ago | 2 answers | 0

2

answers

Question


A small question about the function -- insertObjectAnnotation.
The funtion _insertObjectAnnotation_ can be used to insert some annotation and output a RGB image. The usage of this function is...

10 years ago | 1 answer | 0

1

answer

Answered
Gray image to rgb image
ind2rgb() or ind2rgb8().

10 years ago | 1

Question


How should I know whether and which checkboxs are selected?
In main panel, there are several checkboxs, such as A...D. Each checkbox is bounding a selection for my application.How should I...

10 years ago | 1 answer | 0

1

answer

Question


A small problem about the Cell Array.
I am a newbie for the cell array in Matlab programming.I need a cell array, for example _C_, with the five elements,a,b,..,e. Ea...

10 years ago | 2 answers | 0

2

answers

Question


How to bridge some nearest unconnected image?
Hi all. I am focus on the filament recognition. Obviously, the initial work is the object detection. As the filament is long and...

10 years ago | 1 answer | 0

1

answer

Question


How can I specify the memory when run programs?
I try to use the _trainCascadeObjectDetector_ to train a detector for my own purpose.This function is provided in the MatLab R...

10 years ago | 1 answer | 0

1

answer