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
-2
votes
1 answer

MATLAB plot of 2 variables defined by an equation

I have the following query. I want to plot in MATLAB the following equation : i + s - ln(s)/sigma = constant (i and s are variables) for a given value of constant and sigma. The equation is between s and i. the value of sigma is 0.5 and value of…
B747
  • 21
  • 1
-2
votes
1 answer

Why the MATLAB auto converts variable into Matrix?

The following code generates (3x1) Matrix of Profit variable. How to get a single answer (value) from the Profit function? for j =1:56 b = 20 ; c1 = 30 ; Qt = 100; Profit = (- (Qt^2*(b - c1))/(b + c1)^3 - (Qt*c1*l1)/(b +…
jehan
  • 107
  • 3
  • 15
-2
votes
3 answers

two graphs in one plot matlab

I want to plot two data (x1,y1)=(x,y) which x and y determine some points in space and (xx1,yy1)=(12,12) in the same plot in Matlab. I used below code but there is an error and it doesn't wor. Could anyone help? h = plot(x, y, '.g', 'MarkerSize',…
sara nj
  • 197
  • 1
  • 11
-2
votes
1 answer

Matlab join 2 arcs

I am trying to draw a shape using matlab. Here I need to join arcs. I created arc using following code circr = @(radius,rad_ang) [radius*cos(rad_ang); radius*sin(rad_ang)]; % Circle Function For Angles In Radians N = 25; …
swapnil gandhi
  • 816
  • 1
  • 20
  • 38
-2
votes
1 answer

How can I find 26 neighbors of point with coordinates of (i,j,k) in Matlab?

I have a stack of images in a 3D matrix. How can I find 26 neighbors of a specific voxel with coordinates of (i,j,k) in Matlab? Your help is appreciated. Thanks
S.EB
  • 1,966
  • 4
  • 29
  • 54
-2
votes
1 answer

How to find common characteristics of the three matrices?

I have three matrices A, B and C, the size of which are all 120*1000 double, where 120 represents the number of time points and 1000 represents the total number of features. For each matrix, there is a corresponding regressor matrix, the size of…
Poppy
  • 15
  • 6
-2
votes
1 answer

How to get filename structure in a folder in Matlab

I am designing a GUI in Matlab, I have a folder called sth. It contains many files having same structure like, filename_1_something.mat filename_2_something.mat In order to loop over filenames by selecting via index, I need to find a resulting…
freezer
  • 531
  • 1
  • 11
  • 28
-2
votes
1 answer

Ploting same color for each column in matrix for 'n' iterations

I have a matrix A of size (N, 80), Where values of Aare updated every Nth iteration. How can I use a color vector of 80 corresponding to the matrix A? I do not want to use a for loop, as it consumes lot of time in every iteration.
Uday
  • 45
  • 6
-2
votes
1 answer

Printing a line in Matlab GUI

I am trying to a matlab GUI application and I want to display a number of lines(15 or so). Each line is calculated after each iteration inside a loop. If I use set(handles.outText,'string',num); after each itration, the previous text is replaced…
Ananda
  • 2,925
  • 5
  • 22
  • 45
-2
votes
1 answer

histogram in matlab but without using hist function

I'm a little bit stuck on how to plot a histogram in MatLab without using hist function the question is that Generate a random number between (0 ,100) and plot 1000 of those random digits on xy,plan as histogram example let interval is 10 x …
user155971
  • 99
  • 1
  • 6
-2
votes
1 answer

I want to make panorama image but it is showing the error message Undefined function 'imageSet' for input arguments of type 'char'

Undefined function 'imageSet' for input arguments of type 'char'. Error in build (line 3) buildingScene = imageSet(buildingDir); % Load images. buildingDir = fullfile(toolboxdir('vision'), 'visiondata', 'building'); buildingScene =…
mahtab
  • 13
  • 3
-2
votes
1 answer

How to customize simulation in MATLAB/simulink for analysis purpose?

I have created a FIG gui which has options to start or open a new project, open a custom library, simulate, plot graphs etc. On clicking the start new project option a new simulink window will open.I have made a custom library which has blocks or…
-2
votes
1 answer

How do I show different images with radio buttons in matlab GUIDE?

This is all of the code as of right now. The correct image is displayed when you change the selected button in the button group but no image is displayed until you change the selected button. I want the first image to be FloorPlan{1} as it says in…
redmoncoreyl
  • 133
  • 9
-2
votes
1 answer

Error using / Matrix dimensions must agree in matlab gui

I keep getting following error: Error using / Matrix dimensions must agree. Error in GUI2>menu_mscheme_mpsk_2_Callback (line 579) d_xover_den = ((4*pi/lambda).^2*(1+alpha)*SNR_unc./uu) Error in gui_mainfcn (line 96) …
faseeh
  • 1
  • 1
  • 3
-2
votes
1 answer

MATLAB uipanel child visiable

quick question on uipanels/button groups, how can i make one item (a radio button) with in the uipanel visible/not visible... the code "set(handles.uibatspanel,'visible','off')" makes the panel itself visible or not, but i want the radio button…
1 2 3
90
91