Community Profile

photo

Ajay Kumar


Last seen: Today
62 total contributions since 2019

Student.
MATLAB enthusiast.

Ajay Kumar's Badges

  • 3 Month Streak
  • Knowledgeable Level 3
  • First Review
  • Revival Level 2
  • First Answer
  • Thankful Level 1

View details...

Contributions in
View by

Answered
How to modify the text visibility in a Gui that created using App Designer
What is the exact name of the component? I would suggest you to rename it if its only Label. For example, if you rename it to C...

3 days ago | 0

| accepted

Answered
matlab app designer ,UI axes how to disable XTick label ?
I think you want to disable Xlabel String. Search for Xlabel.String property in the property window and also make that empty.

5 days ago | 0

Answered
The plot is exceeding the boundaries of the box in a figure.
Did you turn off the Clipping ? Try this after plot: ax = gca; % get the current axis ax.Clipping = 'on'; %...

10 days ago | 0

Answered
Linking two dropdown menus to a pushbutton in a GUI
In the ButtonPushed callback, you can directly assign the values of dropdown menu. For eg: Dropdown.Value = "Your Option in dro...

11 days ago | 0

Answered
How can I change the value of some elements within a matrix
B =[0, 3, 6]; C= 1./B; C(isinf(C))=0

13 days ago | 0

| accepted

Answered
Generation of plot using data set
T = xlsread('process.xlsx'); names = {'Memory'; 'Battery Backup'; 'Processing Capability'; 'Screen Size'; 'Camera'}; for i = 1...

17 days ago | 0

Answered
how to install matlab on windows 10
If you are a student, then see if your university/college has a Campus-Wide Access. For checking go to: https://uk.mathworks.com...

17 days ago | 0

Answered
How can I implement code online?
You can use MATLAB compiler to make your GUI/App as a standalone application or web application. Please read: https://uk.mathw...

17 days ago | 0

| accepted

Answered
Drag and drop images
You can use the axes component. doc uiaxes and in the startup function you could write something like this: imshow('yourpictu...

17 days ago | 0

Answered
writing a callback in a gui
You can use 3 editfields (2 for x and y inputs and 1 for displaying the output) and 3 buttons (NOT, OR, AND) and you can write c...

21 days ago | 0

| accepted

Answered
does anyone know how we enter data manually into "uitable"?
One option could be writing callback to button(Enter data) wherein we use inputdlg to get the user inputs for all values and ass...

26 days ago | 0

Answered
How do i assign value of a sub-cell element to a variable
{sum([7,6,4,8,7,9,1,12]), sum([9,6]), 31} Is this what you wanted?

2 months ago | 0

Answered
Matlab App Designer Array
doc inputdlg for eg, to get the number of inputs: prompt = {'Enter number of inputs:'}; dlgtitle = 'Input'; dims = [1 35]; ...

2 months ago | 2

| accepted

Answered
MATLAB app designer : .exe file extremly slow when opening and calculating
I would suggest you to break the 5000 lines of code in app designer code view to multiple function files (.m) files. As executi...

2 months ago | 0

Answered
additional non linear x axes
Have a read at this link. https://uk.mathworks.com/help/matlab/creating_plots/graph-with-multiple-x-axes-and-y-axes.html where...

2 months ago | 0

| accepted

Answered
Uigetfile will make app be behind another windows.
add these lines after uigetfile drawnow; figure(app.UIFigure) assuming your UIFigure's name is app.UIFigure

2 months ago | 0

Answered
Rename file with editfield(App designer)
You can do this. Suppose you entered 'oldname' in text editfield. i.e. your_editfield.Value = 'oldname'; now save the file usi...

2 months ago | 0

| accepted

Answered
Callback function on window focus?
f = figure; drawnow figure(f);

2 months ago | 0

Answered
Storing data in cell array using for loop
You are creating a new cell array everytime n is incrementing, which leads to loss of previous data. so, create the cell array o...

2 months ago | 2

| accepted

Answered
App Designer uitextarea control gives position values not in pixels when window is maximised?
When I do this: fig = uifigure; txa = uitextarea(fig); txa.position I get the Output as 100 100 150 60 which are pixels.

2 months ago | 1

| accepted

Answered
App designer big projects
Yes, you can read an excel sheet and get the words. Simply create a push button in the GUI, in the pushbutton callback, write th...

2 months ago | 0

Answered
I have fixed parameters , and the functions will used it but how write in GUI MATLAB
If you have static parameters which you do not want to change through out the program, you can declare them in OpeningFcn callba...

2 months ago | 0

| accepted

Answered
Append rows to an empty table
t = table; for i = 1:3 column1 = rand(2,1); column2 = rand(2,1); tempt = table(column1, column2, 'VariableNames',{'c1','c2'}...

2 months ago | 0

| accepted

Answered
matlab guide how to show table with text
Select Table from the component section adn write the callbacks accordingly to update the table.

2 months ago | 1

Answered
Change distance between grouped bars (bars are overlapping)
Remove the bar width field in line 2 y = [3.6 2.2; 10.8 2.2; 34.9 11.0; 37.3 46.2; 13.3 38.5]; hBar = bar(y); for k1 = 1:size...

2 months ago | 0

Answered
Breaking a long line of code into two.
uiwait(msgbox(sprintf(['Decryption complete!\n\nRetreived image has ',... 'been saved to disk\n\nOutput File Name: ''Hidden...

3 months ago | 3

| accepted

Answered
Is that possible to use MATLAB Coder with a Guide application?
If you have just started the GUI implementation, I would suggest you to switch to AppDesigner instead. If you are way long in gu...

3 months ago | 1

| accepted

Answered
Save a group of processed imags output from a for loop in a specific folder
Have you correctly given the permission to the folder you are writing? Once try this, savepath = 'C:\Some_dir\Some_folder'; F...

3 months ago | 0

Answered
How to generate an App
I would suggest you to use App designer and design the app, where in there will be a graphical user interface. If you want input...

3 months ago | 0

Answered
Selecting the nearest data point in a 2-D plot
Try to perform difference (and take minimum of absolute) between both ginput data point and original data and take out the index...

3 months ago | 0

Load more