Community Profile

photo

Mohammad Sami


Last seen: Today 2014 以来アクティブ

Statistics

All
  • 24 Month Streak
  • Indexing II Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Knowledgeable Level 4
  • Pro
  • Revival Level 2
  • First Answer
  • Speed Demon
  • Solver

バッジを表示

Content Feed

表示方法

回答済み
MATLAB app designer, how to update value of a property in declared callback function
You can try the following. configureCallback(app.arduino,"terminator",@app.readSerialData)

1日 前 | 0

回答済み
How to declare variable in App Designer
Do you mean you want to set the value of A equal to the value of edit field ? app.A = app.EditField.Value;

12日 前 | 0

回答済み
How to set defaults for GridLayout?
In this case I believe the only way to change the default column spacing is to edit the code shipped by matlab.

14日 前 | 0

回答済み
Static Java methods won't execute with parfor loop
The dynamic java class path is only modified in the process calling the javaaddpath. So for parallel you will have to add your j...

約2ヶ月 前 | 1

| 採用済み

回答済み
How to change automatically generated uibutton properties in another function?
You can store all your buttons as an array in the app property orientationButtons. function create_buttons(app) % % make b...

約2ヶ月 前 | 0

| 採用済み

回答済み
How to change training and plotting options when training a deep network?
From matlab documentation, you can only use this option if you specified validation data as well. https://nl.mathworks.com/help...

2ヶ月 前 | 0

回答済み
How to write our own Loss function in Deep neural network layers.
You can first check if the loss function is already available in Matlab here. https://www.mathworks.com/help/deeplearning/ug/de...

3ヶ月 前 | 0

| 採用済み

回答済み
Replace stale / repeating data with NaN in a table
You can try this. Var1 = [ 3 , 2, 5, 4, 4 , 4, 4, 6, 2, 3 , 5, 5 ,5 ,5 ]; i = Var1(2:end) == Var1(1:end-1); i = [false i]; V...

4ヶ月 前 | 0

回答済み
How to use parpool for independent expressions
You can use the parfeval function to make these calculations on a worker thread. x = 1; y =2; z=3; p=parpool('local',4) Fs...

4ヶ月 前 | 1

| 採用済み

回答済み
This is a part of a code and I want to add something to it, description below
In your code Heff(:,P==0) = []; %Delete User Row This will actually delete columns not rows in Heff. Not sure if that is what ...

4ヶ月 前 | 0

| 採用済み

回答済み
How to save output of double loop?
You should use the fullfile function to create the filepath. Your call to imwrite function is in the outer for loop, hence it wi...

4ヶ月 前 | 1

| 採用済み

回答済み
How to make a colourful interactive GUI spectrum slider?
While there is no slider object which have the spectrum as the background, you can however achieve this effect by layering uisli...

4ヶ月 前 | 0

回答済み
How to import and evaluate multiple files in matlab?
I am assuming all your data files have the same format. You should convert your current code into a function and call it 3 times...

4ヶ月 前 | 0

回答済み
Plot two functions with different pause rates at same time.
You can try something like plotting j every few steps. frames = 239; trunk = 2987; hold on lastjplotted = 0; for i = 1:tr...

4ヶ月 前 | 0

| 採用済み

回答済み
Onehotencode function is giving more columns which are filled with zeros than the number of categories.
Because you are converting the entire matrix in to a categorical matrix, the categories for the entire matrix are common. If you...

4ヶ月 前 | 1

| 採用済み

回答済み
Bring components to the front in app designer
If you only wish to display the image and not interact with it (eg zoom) then perhaps you can use uiimage to display your image ...

5ヶ月 前 | 0

回答済み
accessing tall cell arrays of type char
You will need to use gather function after you have completed all the operations on the data. a = tall({'aa' 'bb' 'cc'; 'dd' 'e...

6ヶ月 前 | 0

回答済み
Saving data in a GUI callback function
With app designer you don't need guidata and hobject to store your data. Create properties in your app and then you can access ...

6ヶ月 前 | 0

| 採用済み

回答済み
matlab app numeric box wont update real time
include the drawnow command in your loop to force an update to the UI. https://www.mathworks.com/help/matlab/ref/drawnow.html ...

6ヶ月 前 | 0

| 採用済み

回答済み
Subtract element one from element two in a 1x101 row vector.
You can use the subset from 1:end-1 and 2:end to calculate without using the for loop. t = rand(1,101); tsub = t(2:end) - t(1:...

6ヶ月 前 | 0

回答済み
Confusing warning during compilation: Warning: MATLAB preference entry "SMTP_Username" has been removed.
This is the correct behaviour for security reasons. Otherwise this information will be included from the previously set values i...

6ヶ月 前 | 0

回答済み
Delete outliers in each column of a matrix
You can simplify your code like this. % generate test data initmatrix = rand(100,100); initmatrix(12,99) = 1000; initmatrix(...

6ヶ月 前 | 0

回答済み
imwrite, what it does with fractions and negative values
You can change to using random integer function instead of rand function. Also change the image format to png instead of jpg. ...

6ヶ月 前 | 0

回答済み
Plotting data with 5 dimensions
How about you use the stacked chart as you intended and then just change the x axis to display the value of column D. data = [6...

7ヶ月 前 | 1

| 採用済み

回答済み
App designer Tab children automatic resize work on one tab but not the other on app Window resize
Are you using a uigridlayout inside the second tab ? The best way to ensure the desired resizing behaviour is to use uigridlayou...

7ヶ月 前 | 1

| 採用済み

回答済み
How to link x-axis of two plots in one single plot if they have diferent sizes
This Matlab example describes how you can overlay a second Axes object on top of another axes object. https://www.mathworks.com...

7ヶ月 前 | 0

回答済み
Help: Index that Falls above the lower variation limit if more than 50% of the data points in the following 20 point window are also above?
You should create a logical array which is true for a point which is above the limit. Then we use a moving sum with a kf = 20 an...

7ヶ月 前 | 0

| 採用済み

回答済み
Error using ismember function: Input A of class cell and input B of class cell must be cell arrays of character vectors, unless one is a character vector.
I suggest you keep your logic simple. just append the loop number in your filename, thereby avoiding the complicated logic altog...

7ヶ月 前 | 0

| 採用済み

回答済み
Different RMSE in Regression Learner App everytime I start a new Session
The partitions would be randomly initiated. You can set a random number seed before you begin, to try and get the same results. ...

7ヶ月 前 | 0

回答済み
read a variable in an app designer interface from a Matlab script
If you want to be able to access your app inside the script, first create and assign your app to a variable, then you can access...

7ヶ月 前 | 0

| 採用済み

もっと読み込む