Jing
MathWorks
Followers: 0 Following: 0
Professional Interests: UI, Machine Learning
Feeds
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...
11 years 前 | 0
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...
11 years 前 | 0
| 已接受
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...
11 years 前 | 0
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...
11 years 前 | 0
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]
11 years 前 | 0
| 已接受
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...
11 years 前 | 0
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...
11 years 前 | 0
To find intersection point of two lines?
'polyxpoly' can get intersect points for lines. Is this what you want?
11 years 前 | 0
| 已接受
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...
11 years 前 | 0
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...
11 years 前 | 1
| 已接受
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...
11 years 前 | 0
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...
11 years 前 | 2
| 已接受
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;".
11 years 前 | 0
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.
11 years 前 | 0
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...
11 years 前 | 1
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....
11 years 前 | 6
| 已接受
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...
11 years 前 | 0
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);
11 years 前 | 1
adding image to question
I think you can add by the following format: "<<URL of the image>>" (delete the double quote)
11 years 前 | 1
Import text file with header
The functions that would be most helpful are 'fopen' and 'textscan'. fid=fopen('yourtext.txt'); cdata=textscan(fid,'%f %...
11 years 前 | 1
| 已接受
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...
12 years 前 | 0
| 已接受
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...
12 years 前 | 0
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...
12 years 前 | 0
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...
12 years 前 | 0
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...
12 years 前 | 0
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...
12 years 前 | 0
| 已接受
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...
12 years 前 | 0
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, ...
12 years 前 | 0
| 已接受
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.
12 years 前 | 1
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 ...
12 years 前 | 0