Community Profile

# Jing

### MathWorks

Active since 2012

Professional Interests: UI, Machine Learning

All

View badges

#### Content Feed

View by

Answered
How to stop Histogram from covering Tick Marks
I think you already got the point to show the tick marks for BAR or HIST. In the doc of Axes Properties, it states under TickDir...

casi 8 años ago | 0

Answered
Display Several Plots in GUI using Slider
Get the return of the SUBPLOT, then you can save the handle to each subplot. h=subplot(2,2,x,’Perent’,h_panel); %h is the h...

alrededor de 8 años ago | 0

| accepted

Answered
using plot in k-means
Like I said above, first of all, you need to decide which dimensions you want to show your clusters. You can't show the cluster...

más de 8 años ago | 0

Answered
Mark Cell Table with Color
http://www.mathworks.cn/support/solutions/en/data/1-D782JW/index.html Is this what you want? You know, you could google first...

más de 8 años ago | 0

Answered
How to set target vector for training of neural network?
Then the target vector can be [1 1 1 0 0 0;0 0 0 1 1 1]

más de 8 años ago | 0

| accepted

Answered
How to plot results from for loop as one line graph instead of separate results of each iteration?
Hi Catarina, Y is a 20*1001 matrix! When you use plot, there'll be 20 lines for each row. If Y should be one line, you should no...

más de 8 años ago | 0

Answered
How can I diplsy images in gui panel? For each image I have to associate one radio button, How to implement this in gui?
You can learn from the following answer: http://www.mathworks.com/matlabcentral/answers/26183 For the error message you go...

más de 8 años ago | 0

Answered
To find intersection point of two lines?
'polyxpoly' can get intersect points for lines. Is this what you want?

más de 8 años ago | 0

| accepted

Answered
Data Suddenly Disappeared When Inputting to UiTable
'Run figure' is not a correct way to get your GUI work. It can only display the figure and the callbacks won't work. Type the GU...

más de 8 años ago | 0

Answered
GUI design using tabs....
The tabs are possible. But it's tricky. Use 'tabdlg', or the method provided by others: http://www.mathworks.com/matlabcentra...

más de 8 años ago | 1

| accepted

Answered
Is there a way to make a column name in a uitable have superscript text?
Try the html format for the names. headers = {'Depth | (m)','Thickness|(m)',' Velocity | (m/sec)','<html>Unit Weight<br...

más de 8 años ago | 0

Answered
Combine Wavread and Browse Filepath Using Gui ?
You're not include the full path to the file. You should store the full path instead of just the file name. myAudio=fullfil...

más de 8 años ago | 2

| accepted

Answered
Function inside GUI don't save modifies to "handles"
That's because you didn't update A after modification! Before disp, you should get A back from the handles by "A=handles.A;".

más de 8 años ago | 0

Answered
ho to Send data from uitable to workspace?
How do you store the data in uitable? You can either save it to a mat file or make the variable global.

más de 8 años ago | 0

Answered
switch case in GUI pop-up menu
It looks like you're using the selected index(the value you get is index...) of the popup menu, not the selected content for get...

más de 8 años ago | 1

Answered
Is there a way to plot to a file while in a parfor loop?
You can plot in parfor, it's just you won't see it, but the handle is still there. Then you can use saveas to save it to a file....

más de 8 años ago | 5

| accepted

Answered
Combining Pushbutton and Program to Read CSV
Hi Dimas, Actually you can import csv in the callback. But if you have good reason to do that in base workspace (what you mea...

más de 8 años ago | 0

Answered
Using a string as a command?
You can do that by using 'eval'. When y is the string, try the following command. yy=eval(y);

más de 8 años ago | 1

Answered
adding image to question
I think you can add by the following format: "<<URL of the image>>" (delete the double quote)

más de 8 años ago | 1

Answered
Import text file with header
The functions that would be most helpful are 'fopen' and 'textscan'. fid=fopen('yourtext.txt'); cdata=textscan(fid,'%f %...

más de 8 años ago | 1

| accepted

Answered
Can someone help with nonlinear optimization with constraints? (i've tried tutorials with no luck)
The input of every function includes 'x', but there's no x in the function body. Actually, you should write your function as fol...

más de 8 años ago | 0

| accepted

Answered
feature extraction on specified cordinate on image
For extracting features of a part of the image, you can just index into the image or create a new image of that part to do the e...

más de 8 años ago | 0

Answered
Access arbitrary class from MATLAB Engine interface
First, I'm not familiar with MATLAB Engine. If I misunderstand your question, just ignore me. The MException object is access...

más de 8 años ago | 0

Answered
Is there anyway to create a GUI with table and to show a graphic plotting the data as we insert data on table?
I think it's possible to do what you want. Sean already provided you the examples of creating a GUI and you may learn and use so...

más de 8 años ago | 0

Answered
How can i get the matlab coding for image decomposition using complex wavelet transform?
You can use 'edit' command to open the matlab code of the function you use. If it can't open the code, the matlab code is not av...

más de 8 años ago | 0

Answered
how to implement the C SVM for image data classifications
There's existing svm function(svmtrain) in MATLAB if you have Bioinformatics Toolbox. Converting C SVM into MATLAB will be a hug...

más de 8 años ago | 0

| accepted

Answered
How to read data from xls file in loop?
Could you please format your code? it's hard to read! The error is in xlsread line (line 73), for 'B%d', I think you should w...

más de 8 años ago | 0

Answered
Add to listbox in GUI from .mat file
I think the main issue is that the variables only has local scope when loaded in a callback function. If you only have one GUI, ...

más de 8 años ago | 0

| accepted

Answered
matrix normalization in matlab
You can use 'normc' or 'normr' for normalization. 'c' or 'r' stands for columns or rows that you want to normalize.

más de 8 años ago | 1

Answered
How to create a Target data ? Neural Network Tool
I guess what you ask is 'preparets' function. This function prepare data for network simulation and training. Use the following ...

más de 8 años ago | 0