Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

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

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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]; ...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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)...

environ 12 ans il y a | 1

Réponse apportée
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';...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

| A accepté

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

environ 12 ans il y a | 0

Réponse apportée
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(:));

environ 12 ans il y a | 3

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 1

Réponse apportée
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...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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; %...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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>

environ 12 ans il y a | 0

Réponse apportée
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 ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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 = ...

environ 12 ans il y a | 0

Réponse apportée
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 ...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Charger plus