Answered
how to change the Gui close function whithout changing the close function of figures ?
I agree with Geoff Hayes and that should work. I did a quick example. I first created a function called closeRequest.m which c...

12 years ago | 0

Answered
Programmatically generation of a PDF file report of some calculations?
Matlab has a report generator toolbox. And i think it is pretty cheap as well. Additionally if you cannot do that you could al...

12 years ago | 0

Answered
3-d plotting over a domain
check out the functions surf(), plot3() and any of the related functions at the end of their documentation.

12 years ago | 0

Answered
How to halt program until file input?
You could put in a while loop checking whether the file exist(). count = 0; while exist(filename)==0 pause(1) co...

12 years ago | 1

| accepted

Answered
how generating evenly spaced vectors with overlap?
Starting with the linspace above that people suggested you can get the over lap you by doing this: input = [0 5 10 15 20]; ...

12 years ago | 0

| accepted

Answered
saving user's search path
if it is inside a GUI at the start of the program define a variable CurrentDir or something similar and assign it to the default...

12 years ago | 0

Answered
Assign Ranking in Matlab
Well we first start with finding which ones are the same. C = [0 .0125 .0125 .0125 .02 .0375 .0375 .05]; R = 1:length(C)...

12 years ago | 1

Answered
Problems with legend function for plotting figure
Perhaps this would be a good area to use the eval(). here is an example: bird_id = '123';pix_size = '10';stim_dir = 'N';...

12 years ago | 0

| accepted

Answered
How to create a binary grating pattern with Matlab?
Well... what you could do is do: I = zeros(1920,1080); cols = 0:1080-1; I(:,find(mod(cols,4)<2))=1; and then use i...

12 years ago | 0

| accepted

Answered
Static Text Handle Creation
there should be a tag associated with the static text. default is "handles.text1", it doesn't create functions like the other u...

12 years ago | 1

| accepted

Answered
Creating a GUI based calculator
Most-likely you are not setting the return calculations as strings when setting them to the static text. set(handles.static...

12 years ago | 0

| accepted

Answered
gui matlab text file
I would try fprintf(fid,'thetha value genrated is %f and frequency genrated is %f\n',[theta,Fm]);

12 years ago | 0

Answered
Efficient way to sum the components of a matrix
if you are just looking for the total sum of the n dimensional array, then you can just do sum(temp(:));

12 years ago | 3

| accepted

Answered
How do I make both plots visible using plotyy?
can you give a range of what X1, Y1, X2, P2 (should it be Y2? as you call out max of Y2 in the last line). Possible items could...

12 years ago | 1

Answered
while lopps. help plz ยด,
okay so doing a quick testing with different inputs the issue is when you put in an input like 'a'. where the logic checks wo...

12 years ago | 0

| accepted

Answered
How do I call the first number in a string?
I do not think there is a built in function but you can write a loop to determine what the first number is. for i =1:len...

12 years ago | 0

Answered
How to translate this part of code to a pseudocode? thanks in advance
for channels red, green and blue read/load image 10arb_old.png calculate histogram counts for each channel store his...

12 years ago | 0

| accepted

Answered
how to store values of a variable in array and store the array in a file in gui
you will need to call the function save() in the pushbutton callback. The documentation for save() will give you a good expla...

12 years ago | 0

Answered
For Intersecting Circles, how to remove overlapping arcs for 3 or more circles?
Well... feels like i'm answering this again but what you can do is a for loop clear all clc m = 1000; %...

12 years ago | 0

| accepted

Answered
please help with the creation of a matlab 2D animation explained bellow
Since this sounds like an assignment i'll just drop this link. <http://homepages.udayton.edu/~hardierc/ece203/animated.htm>

12 years ago | 0

Answered
finding mean scores of students tests compared to rest of class
well in your curve busters equation you have the find() function looking for the students that are performing less than (<) the ...

12 years ago | 0

Answered
What kind of text displays the output on Graphical user interface GUI figure ?
I attached a simple GUI that when you push the button it'll generate a random integer. and display it in a text box and the sta...

12 years ago | 0

Answered
How do I determine the number of headerlines in a text document?
Well if you are having arbitrary headers but you know where the data starts (with the column headers PER and AREA); then you can...

12 years ago | 0

Answered
looping through symmetric matrices
What you can do is use the unique() function example: T=randi(10,10); Q=randi(10,10); temp = [T(:) Q(:)]; utemp...

12 years ago | 0

Answered
Extracting data from several txt files
This can be done using a for-loop with dlmread(). %%assumes you have a cell array for the file names; for i = ...

12 years ago | 0

Answered
Problem with GUI functions and obtain values from graph?
Putting the text and push buttons on the screen is the first step. the next step would be to generate a look-up table that you ...

12 years ago | 0

| accepted

Answered
How to import data from .txt into Excel workbook?
What type of data is within the text file? No matter what it is you can use xlswrite() function to perform what you want. Now ...

12 years ago | 0

Answered
How do I plot multiple XY vectors with corresponding Z values on the same plot?
Here is what you can do to get something along those lines. I'm not sure if there is a function to plot that however what you ca...

12 years ago | 0

Answered
Matrix indexing, getting back my original matrix.
Were you looking to get something like this? mat= [ 1 2 3 4 5 6 7 8 9; ... 1 2 3 4 5 6 7 8 9; ... 1 2 3...

12 years ago | 1

| accepted

Answered
get the name of mat file loaded by command "uiopen" ?
How are you selecting them? GUI, hard coded, determined by set of parameters, etc? because since you're using uiopen you are p...

12 years ago | 0

Load more