Community Profile

photo

Ajay Kumar


Last seen: Today
68 2019 年以降の合計貢献数

Student.
MATLAB enthusiast.

Ajay Kumar's バッジ

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

詳細を表示...

貢献した分野
表示方法

回答済み
Previous Value of Numeric Edit Field
Try to save the Previous value in a temporary variable. For eg: temp = app.NumericEditField.Value; if error app.NumericE...

約9時間 前 | 0

回答済み
How to stop the program if an array is empty?
Handle the exception using try catch blocks signal1 = [1,2,3,4,5,6]; signal2 = [7,8,9,10,11,12]; signal3 = [13,14,15,16,17,1...

6日 前 | 0

| 採用済み

回答済み
save data in for loops
Yes, You are trying to assign 2 matrices of different size. Try this: coordinate= zeros(41,1); for a=1:21 X = snakes{1,a}...

6日 前 | 0

| 採用済み

回答済み
figure doesn't appear in new window
Are you sure? because Figure 2 window lies exactly on Figure 1 window. Just check the matlab windows. If you want to shift the ...

7日 前 | 0

回答済み
How to say remove "-1" from the end of a string if exists?
play with positions. For eg: S = 'sectioned-1'; S = S(1:end-2) For an array, write this in a simple for loop.

18日 前 | 0

回答済み
Inserting a row and moving other rows down
A = [A(1,:);[1,1,1,1];A(2,:);A(3,:)]

18日 前 | 1

| 採用済み

回答済み
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...

27日 前 | 0

| 採用済み

回答済み
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.

29日 前 | 0

回答済み
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'; %...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

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

約1ヶ月 前 | 0

| 採用済み

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

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

| 採用済み

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

| 採用済み

回答済み
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...

約2ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

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

3ヶ月 前 | 2

| 採用済み

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

| 採用済み

回答済み
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

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

| 採用済み

回答済み
Callback function on window focus?
f = figure; drawnow figure(f);

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 2

| 採用済み

回答済み
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.

3ヶ月 前 | 1

| 採用済み

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

| 採用済み

回答済み
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'}...

3ヶ月 前 | 0

| 採用済み

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

3ヶ月 前 | 1

Load more