Questions tagged [matlab-guide]

This tag is NOT for "guidance" on MATLAB questions. GUIDE, is a graphical user interfaces (GUI) design environment in MATLAB. This tag relates to the development of MATLAB applications with a GUI using the interactive GUIDE layout editor.

GUIDE, is a graphical user interfaces (GUI) design environment in MATLAB. This tag relates to the development of MATLAB applications with a GUI using the interactive GUIDE layout editor, as opposed to the AppDesigner tool or creating GUIs programmatically.

MATLAB is a high-level language and programming environment developed by MathWorks.

Additional sources of technical information on these topics include:

1363 questions
-1
votes
1 answer

loop problem because of 'continue' statement inside 'if' statement in matlab

i have the following code which runs infinitely when executed. it is fine if i remove the CONTINUE statement. however, with the CONTINUE statement the problem arises. the code is Bn_x=zeros (length(pu_arrival), 1); Bn_x(1)=6; Br_x=zeros…
Abdullah1
  • 47
  • 5
-1
votes
1 answer

How to plot a parabola by getting its parameters from the gui using MATLAB

I've tried to do it like this: I've found this https://www.quora.com/How-do-I-draw-a-parabola-in-MATLAB and tried to use it like…
Liana78
  • 25
  • 6
-1
votes
2 answers

How can I delete signal in GUI before press push button2?

There are 2pushbuttons in my GUI. Now, when i press pb1 sinewave signal is appearing in my graph. Similarly when i press pb2 the random signal is appearing. But pb2 signal is coming on the sinewave signal(pb1). How can i remove sinewave signal…
-1
votes
1 answer

MATLAB 3d surface plot

I have an array of size 300x3. Three columns having data of say A,B and C variables such that range of A and B is between 0 and 1 and C's range vary i.e. my array looks like…
Luqman Saleem
  • 191
  • 10
-1
votes
1 answer

Make the heart bounce in and out

I was able to make a heart in matlab as: n=100; x=linspace(-3,3,n); y=linspace(-3,3,n); z=linspace(-3,3,n); [X,Y,Z]=ndgrid(x,y,z); F=((-(X.^2) .* (Z.^3) -(9/80).*(Y.^2).*(Z.^3)) + ((X.^2) + (9/4).* (Y.^2) + (Z.^2)-1).^3); isosurface(F,0) lighting…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
-1
votes
1 answer

Assignment on finding the volume and area of a conical cup

I'm taking a course in matlab and was given the assignment attached. below are my codes for my function. But when I enter 3 as the input value for the radius I get the output of 810.4933 which I'm pretty sure is not right. function…
Jessie
  • 3
  • 3
-1
votes
1 answer

Reference to non-existent field handles matlab

function pushbutton1_Callback(hObject, eventdata, handles) % hObject handle to pushbutton1 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see…
-1
votes
1 answer

how to add color bar to mesh plot in matlab

I have written below code to show density plot of discrete data and vector field together. The problem is that there is no color bar in mesh plot. I did search to add color bar but I couldn't find any useful solution. Do anyone knows how can one do…
-1
votes
1 answer

Population Modelling MATLAB

I have a Leslie Matrix LeslieMatrixA = [0 0.4 0.7 0.5; x 0 0 0; 0 0.8 0 0; 0 0 0.7 0] and an initial population vector [10;10;10;10] where 0.7<=x<=0.9. How can I create…
-1
votes
1 answer

Display output in a separate window in MATLAB

At the end of the execution of my program in MATLAB, the results, stored in a variable are being displayed in the command window. How to display the contents of a variable on to a different window? Thanks!
Supreeth
  • 27
  • 7
-1
votes
1 answer

How can I display all possible combinations of 4 images?

I am trying to explain probability in MatLab to some students and want to first demonstrate probability in real life examples. I have four images, two red balls, one blue and a yellow, all 4 in Matlab as image(1)/(2)/(3) and (4). How can I make 2 by…
Beembo
  • 307
  • 2
  • 13
-1
votes
1 answer

How do we display an image without using axis in matlab or any other option?

I am working on some image processing stuff. I am displaying 2 pictures at same time using axes(handles.name) Is there any other technique that is feasible to use for displaying images.
-1
votes
1 answer

Print text in my own function in GUIDE GUI using "handles"

I want to create my own function in MATLAB which check some conditions but I don't know how to send handles in there. In the end, I want to print some text in the GUI from this other function. I can't use handles.t1 directly in this function because…
shurrok
  • 795
  • 2
  • 13
  • 43
-1
votes
2 answers

How I can show the values in the contour lines? clabel not work

This is my code: syms x y; f= x^2/(y-y^2); ezcontour(f,[-1,1],[0.1,0.9]); How can i show the labels? I wan to show something like this: Thank You very much!
Motoralfa
  • 450
  • 3
  • 10
-1
votes
1 answer

Automatic windowing of the image in matlab

I know possibility of imcontrast and imadjust. But maybe there is another solution... ? I have a question concerning automatic windowing of the Image in matlab ? Is there any possibility to perform automatic windowing ? I would be appreciate for…
Agata
  • 141
  • 2
  • 14