Question

How to scale the axes for root locus?

Hello everyone. I am trying to use the command rlocfind to find a gain value. rlocus(num,den) axis([-22 3 -15 15]) zeta=0.7; ...

6 months ago | 0 answers | 0

Question

How to remove the input port from Gain block of Simulink?

How can I remove the input port from the gain block? I just want to pass some gain value without any input. How can I do that?...

6 months ago | 1 answer | 0

Question

How to generate time dependent exponential terms in Simulink?

Hello! I would like to deploy a exp(-2*t) function in Simulink where t is the simulation run time. How can I make this block...

6 months ago | 1 answer | 0

Question

How to compute control system's performance parameters?

Hello everyone. J = 0.2; b = 0.1; K = 0.2; R = 10; L = 5; s = tf('s'); p = K/((J*s+b)*(L*s+R)+K^2); step(p,200) [y,t]=...

6 months ago | 2 answers | 0

Question

How to extract numbers from a string?

xx = '[10,10]' I want to convert the string xx to a number and extract the first and second value in a single line. What I am t...

6 months ago | 1 answer | 0

Question

How to resolve empty inputdlg box issue?

Hello everyone! I have a inputdlg box. I want the inputdlg box to cancel the processing if the user pressed OK without giving a...

6 months ago | 1 answer | 0

Question

Unity slider step issue

Hello everyone. I want to move a slider from -50:50 with 1 step size. I have set the arrow keys of a slider and they work. How ...

7 months ago | 0 answers | 0

Question

How to use uisetfont?

Hello everyone. How can I use uisetfont command to place texts on a image loaded on a GUIDE axes? How to pass the handle? ...

7 months ago | 0 answers | 0

Question

How to code image types?

Hello everyone. How can I write the "if-else" loop so that MATLAB will identiy it is a Gray/Binary image? Thanks in advance!

7 months ago | 1 answer | 0

Question

How to handle montage image?

Hello everyone. After using the "montage" function, how can I apply the rgb2gray to the montage image? Thanks in advance!

7 months ago | 1 answer | 0

Question

How to eliminate colormap?

a = imread('cameraman.tif') ; image(a) The commands are producing the image in a colormap, not in gray tone (original color). ...

8 months ago | 1 answer | 0

Question

How to design info tab for GUI?

How can I design a info tab for buttons in GUIDE other than with push buttons? I want the info button to have a info sign too. ...

8 months ago | 1 answer | 0

Question

How does the imhist function work for RGB image?

Hello everyone. I looked up the use of imhist function. It plots the histogram for a grayscale image. But if the input is an RG...

8 months ago | 1 answer | 0

Question

How to bold dialog box?

Hi everyone. Is there any way that I can boldface the writings in a dialog box? Thanks in advance.

8 months ago | 1 answer | 0

Question

How to design GUI buttons?

Hello everyone. How can I design a GUI button like the picture above? With logos and text beside the logo? Thanks in advance....

8 months ago | 1 answer | 0

Question

How to fit the axes with the native resolution of the image?

Hello everyone. I have a GUI where I am loading an image into the axes. I want the axes to wrap around the loaded image's native...

8 months ago | 1 answer | 0

Question

How does the imreisze function works?

Hello everyone. I was trying out the built-in hallway photo in MATLAB. I resized it by 1.5 times and 2 times than the original i...

8 months ago | 1 answer | 0

Answered

How to set slider's minimum value other than zero in GUI?

You can double click on the slider, and set the property of 'Value' in between Min-Max range to get rid of the warning.

How to set slider's minimum value other than zero in GUI?

You can double click on the slider, and set the property of 'Value' in between Min-Max range to get rid of the warning.

8 months ago | 0

Question

How to move slider-bar with a step-size of two?

Hey there everyone. I have a slider which I want to increase like 1:2:10 by dragging the bar with mouse. How can I accomplish th...

8 months ago | 1 answer | 0

Question

How to create picture effects in MATLAB?

Hello! I was wondering if one could create picture effects (i.e warmer, cooler, grunge) in MATLAB other than the built in functi...

8 months ago | 1 answer | 0

Question

How to create undo and redo buttons in GUI that can be pressed multiple times?

Hello everyone! I have a working GUI where I have a undo and redo buttons. I have saved the current and previous states in two v...

8 months ago | 1 answer | 0

Question

Is GUIDE option avaibale in MATLAB 2020?

I want to know if one can still use the GUIDE option to build GUI like before in MATLAB 2020? Or it has been removed and one has...

9 months ago | 1 answer | 0

Question

How to save figure window as a series of images and construct a video and gif file?

Hello everyone! I have a dynamic plotting in my figure window. I want to save snapshots of this figure after a fixed time interv...

10 months ago | 0 answers | 0

Question

Gaussian modulated sinusoidal wave

Hello there everyone! Recently I have started practicing FDTD codes (mainly one dimensional) and while implementing the gaussian...

11 months ago | 0 answers | 0

Question

Computational Electromagnetics and MATLAB

Hello everyone. Recently my interest have piqued in computational electromagnetics field. I am starting to learn about FDTD meth...

1 year ago | 1 answer | 0

Question

How to count the frequency of repeated values in an array of values with the index position?

clc clear t=0:.001:10; y=sin(2*pi*t); I want to count the frequency of repeated values in 'y' . How can I do that? I also w...

1 year ago | 1 answer | 0

Question

How to generate Publication quality( for conferences/Journals) figures in MATLAB?

Hello everyone. This is a general query. How can I generate 'high-res' figures in MATLAB that can be used for publication (Conf...

1 year ago | 2 answers | 0

Question

Cumulative sinusoidal wave plotting

Question: I have to plot a cosine wave starting from 1 Hz. After plotting 1Hz cosine wave, increase the frequency to 2Hz and add...

1 year ago | 1 answer | 0

Answered

Same colormap with colorbar which has two axes

I think this link might have what you are asking for. https://www.mathworks.com/matlabcentral/answers/194554-how-can-i-use-an...

Same colormap with colorbar which has two axes

I think this link might have what you are asking for. https://www.mathworks.com/matlabcentral/answers/194554-how-can-i-use-an...

1 year ago | 0

Question

How to extract a high resolution figure from MATLAB?

Hello everyone. This is a basic query. I'd like to extract a "high-resolution" figure from my MATLAB. Is there any procedure to ...

1 year ago | 1 answer | 0