Answered
difficulty interpreting outputs of movcorr
Hello CG, The function movcorr calculates the correlation coefficient for each point in the time series using a sliding window ...

1 year ago | 0

| accepted

Answered
Trying to establish the temp_dat variable and this is my issue.
Hello George, The error message indicates that there is a typo in the parameter name ReadVaraibleNames. The correct parameter ...

1 year ago | 0

Answered
How to add a point on an image?
Hello @ALEXANDROS, The issue you're experiencing with the point addition feature in MATLAB GUI might be due to how the ButtonDo...

1 year ago | 0

Answered
Writing non complete rows and columns to an hdf5 file
Hello, To reshape foo into a 2D array that matches the dimensions you want to write into the dataset /baz in the bar.h5 file, y...

1 year ago | 0

Answered
Unique function to return last duplicate value
Hello, You can achieve this by using the unique function in MATLAB with a little twist. The unique function by default returns ...

1 year ago | 0

Answered
How to get shapley value for Neural Network trained on matlab? it keeps error...
Hello, In game theory, the Shapley value of a player is the average marginal contribution of the player in a cooperative game. ...

1 year ago | 0

Answered
how to run feature selection in a 3D matrix
Hello Hugo, To perform feature selection using the fscmrmr() function on a 3D matrix in MATLAB, you need to ensure that the dim...

1 year ago | 0

Answered
What is this line of code doing?
Hello Quazi, blob(blob == blob(i,j-1)) = blob(i-1,j); This line is replacing all occurrences of the value blob(i, j-1) in the ...

1 year ago | 0

Answered
I have matlab code, when i run the program i could 't get the values and also graph.Can u help me in this regards?
Hello Sunitha, After executing the program, the error message indicates that the function dydx and BC are not returning the col...

1 year ago | 0

Answered
MEAN OF A VARIABLE WITH RESPECT TO OTHER VARIABLES
Hello Saptorshee, To calculate the mean of the variable a25 grouped by the variables a6a7 and year in MATLAB, you can use the g...

1 year ago | 1

Answered
repeat loop in a table
Hello Matt, To replace values in multiple columns of a table in MATLAB, you can loop through each column and apply the same lo...

1 year ago | 0

Answered
running parallel loop until a variable or event
Hello Juan, The error you're encountering is since parfor does not allow modification of the loop index within the loop body. ...

1 year ago | 0

Answered
Modified 2nd order newton rapson method
Hello Gaurav, To solve the given equation using a modified 2nd order Newton-Raphson method in MATLAB, you can refer to the foll...

1 year ago | 0

Answered
How to get satellite track for multi constellations?
Hello Joe, To generate a single ‘skyplot’ that includes satellite tracks for all GNSS constellations, you need to ensure that y...

1 year ago | 0

Answered
Error in gui_mainfcn
Hello Diana, ‘nanmean’ is a part of the "Statistics and Machine Learning Toolbox", which I believe you do not have, and which ...

1 year ago | 2

Answered
How do I save each response in an excel file every time I click the submit button?
Hello Ysabella, I understand you are trying to add the matrix data every time the submit button is pushed to a new sheet named...

1 year ago | 0

Answered
how to solve this differential equations with dsolve
Hello, To solve differential equations using ‘dsolve’ in MATLAB, you need to set up the equations and initial conditions prope...

1 year ago | 0

Answered
how can i get the nonzero value of Tdim{i}(1),while i have to start value of k=2:12?
Hello Deepesh, I understand you are trying to ensure that ‘Tdim{i}(1)’ is nonzero, which can be achieved when its value is der...

1 year ago | 0

Answered
Differentiating a user input equation
Hello Kushagra, To differentiate an equation given in string form, you can convert it to a symbolic expression in MATLAB. This...

1 year ago | 0

Answered
May I ask how to use MATLAB code to build an ECA module?
Hello Shen, I understand you are trying to implement an ECA module using MATLAB. I can help you translate the provided Python ...

1 year ago | 1

| accepted

Answered
How to regrid 2 surface data to match each other
Hi Sarvesh, I understand you want to process a set of wind data, which includes latitude, longitude, and wind speeds in both th...

1 year ago | 0

| accepted

Answered
Is it possible to realize self-supervised RL by adding auxiliary loss to the loss of Critic of PPO agent?
Hi Gavid, Yes, it is possible to implement self-supervised (SS) RL with a PPO agent in MATLAB and add an auxiliary loss to the ...

1 year ago | 0

Answered
错误使用 rlDeterministicActorRepresentation。Observation names must match the names of the deep neural network's input layers.
Hello, The error you're encountering is due to a mismatch between the observation names used in your environment's observation ...

1 year ago | 0

Answered
strfind returns empty cell despite that the strings contain same characters
Hi, It looks like the issue you're encountering is due to the parameters being passed to the ‘strfind’ function in the wrong o...

1 year ago | 0

Answered
Sorting correlation matrix- with row and column information - need help..
Hello Soni, I understand you are trying to sort a correlation matrix along with its row and column names. Below is a solution ...

1 year ago | 0

Answered
Output of system function in Linux
Hi Torsten, To clean up the output by removing these escape sequences, you can use the following git options before running com...

1 year ago | 0

Answered
How to change author for git commits?
Hi, Yes, there is a way to change the author for commits in Git, including when working within a MATLAB/Simulink Project. The a...

1 year ago | 0

Answered
I need help on how to plot Surface Plasmon Polaritons (SPPs) for Multilayer Systems
Hello Ambali, To address the issues, you're encountering with plotting Surface Plasmon Polaritons (SPPs) for a multilayer syst...

1 year ago | 0

Answered
How to remove _ME folders saved in Users\user\AppData\Local\Temp folder
Hello, The '_ME' folders in the 'Users\user\AppData\Local\Temp' directory are typically generated by MATLAB compiled applicatio...

1 year ago | 0

Answered
How to do a stepwise multivariate regression analysis with random variables
Hello, To conduct a stepwise multivariate regression analysis with random variables as you have described, the process involves...

1 year ago | 0

Load more