Answered

I have a cell array and want to plot each of the cells on a tiled layout.

Hi Khiana, You can use the below code A_new ={}; % Cell array declared as A in your code numColmns = size(A, 2); for i = 1...

I have a cell array and want to plot each of the cells on a tiled layout.

Hi Khiana, You can use the below code A_new ={}; % Cell array declared as A in your code numColmns = size(A, 2); for i = 1...

4 months ago | 0

| accepted

Answered

Appending a csv file with existing data already in another column

Hi Mahdi, In my opinion, you can read the data first, modify it and then save the data back to the file. Assuming you have csv...

Appending a csv file with existing data already in another column

Hi Mahdi, In my opinion, you can read the data first, modify it and then save the data back to the file. Assuming you have csv...

4 months ago | 1

| accepted

Answered

How to join multi bands image and calculate the index in Matlab

Hi Anggi, Follow this example on finding vegetation indices (NDVI) in multispectral image. Regards, Anmol Dhiman

How to join multi bands image and calculate the index in Matlab

Hi Anggi, Follow this example on finding vegetation indices (NDVI) in multispectral image. Regards, Anmol Dhiman

5 months ago | 0

Answered

Importing a two variable function into pdepe

Hi Matthew, You can use interp2 for 2 variables. Regards, Anmol Dhiman

Importing a two variable function into pdepe

Hi Matthew, You can use interp2 for 2 variables. Regards, Anmol Dhiman

5 months ago | 0

Answered

How to rename S outup of the funtion load ?

Hi Adrein, Please folow the link. Regards, Anmol Dhiman

How to rename S outup of the funtion load ?

Hi Adrein, Please folow the link. Regards, Anmol Dhiman

5 months ago | 0

Answered

How to split a dataset in 3 sets using splitEachLabel using percentage such that each class appears in all 3 sets?

Hi Faisal, The second arguement (0.75) in splitEachLabel is proportion representing proportion of files to split, specified as ...

How to split a dataset in 3 sets using splitEachLabel using percentage such that each class appears in all 3 sets?

Hi Faisal, The second arguement (0.75) in splitEachLabel is proportion representing proportion of files to split, specified as ...

5 months ago | 0

Answered

How to use C Caller Block?

Hi Elena, C Caller block only supports models with no dynamic states and variables. To include dynamic states and variables in ...

How to use C Caller Block?

Hi Elena, C Caller block only supports models with no dynamic states and variables. To include dynamic states and variables in ...

5 months ago | 0

Answered

Problem with opening an abf file using abfload

Hi Neha, Use disp(nDataFormat) before the switch case to see the output. As it is not 0 or 1, you are getting error. Check for ...

Problem with opening an abf file using abfload

Hi Neha, Use disp(nDataFormat) before the switch case to see the output. As it is not 0 or 1, you are getting error. Check for ...

5 months ago | 0

Answered

Regarding LSTM inputs.

Hi Srikanth, You can read about LSTM and look for examples, which may help you to clear your doubts. Regards, Anmol Dhiman

Regarding LSTM inputs.

Hi Srikanth, You can read about LSTM and look for examples, which may help you to clear your doubts. Regards, Anmol Dhiman

5 months ago | 0

Answered

Hey guys, I have a problem with power_V2G command. It isn't running

Hi Paulina, For performance purposes, MATLAB caches a list of files on the MATLAB search path (including toolbox files), and th...

Hey guys, I have a problem with power_V2G command. It isn't running

Hi Paulina, For performance purposes, MATLAB caches a list of files on the MATLAB search path (including toolbox files), and th...

5 months ago | 0

Answered

MATLAB Funcion is not connected in Simulink

Hi Blanca, If you notice, output a from fcn block is not connected to anything. This is the reason for your error. You can use ...

MATLAB Funcion is not connected in Simulink

Hi Blanca, If you notice, output a from fcn block is not connected to anything. This is the reason for your error. You can use ...

5 months ago | 0

| accepted

Answered

How to call wavelet analyzer toolbox from within the script?

Hi Pradeep, Use wavedec for decomposition. wavedec supports only Type 1 (orthogonal) or Type 2 (biorthogonal) wavelets. See wfi...

How to call wavelet analyzer toolbox from within the script?

Hi Pradeep, Use wavedec for decomposition. wavedec supports only Type 1 (orthogonal) or Type 2 (biorthogonal) wavelets. See wfi...

5 months ago | 0

Answered

Color Text Output Using the 'publish' Function

Hi Jeremy, I am assuming that you are publishing it as an HTML document. So you can use html tag in your document. Add the font...

Color Text Output Using the 'publish' Function

Hi Jeremy, I am assuming that you are publishing it as an HTML document. So you can use html tag in your document. Add the font...

5 months ago | 1

| accepted

Answered

how to compare data excel and matlab and how to match them

Hi Hafiy, You can first import the data from excel to MATLAB using import spreadsheets. Refer to below links to compare data...

how to compare data excel and matlab and how to match them

Hi Hafiy, You can first import the data from excel to MATLAB using import spreadsheets. Refer to below links to compare data...

5 months ago | 0

Answered

Simple PV array block

Hi Salma, Refer to ML Answer, PV Array on the same topic. Regrds, Anmol Dhiman

Simple PV array block

Hi Salma, Refer to ML Answer, PV Array on the same topic. Regrds, Anmol Dhiman

5 months ago | 0

Answered

Compile Matlab App with .m File

Hi Ann, The Application Compiler app packages MATLABÂ® programs into applications that can run outside of MATLAB. Regards, Anm...

Compile Matlab App with .m File

Hi Ann, The Application Compiler app packages MATLABÂ® programs into applications that can run outside of MATLAB. Regards, Anm...

5 months ago | 0

Answered

Error while running inbuild Simulink Model example

Hi Praveen, Refer to ML Answer on the same. Regrds, Anmol Dhiman

Error while running inbuild Simulink Model example

Hi Praveen, Refer to ML Answer on the same. Regrds, Anmol Dhiman

5 months ago | 0

Answered

How to create a function of calendar in Matlab ?

Hi Irfan, You can use the below code function calender(month) if(month == 6 || month == 7) disp("month of summer vacation...

How to create a function of calendar in Matlab ?

Hi Irfan, You can use the below code function calender(month) if(month == 6 || month == 7) disp("month of summer vacation...

5 months ago | 0

| accepted

Answered

How to prevent MATLAB Coder from breaking up input structures

Hi Paul, This is an optimization that occurs by default when generating code and may be disabled in certain circumstances. To d...

How to prevent MATLAB Coder from breaking up input structures

Hi Paul, This is an optimization that occurs by default when generating code and may be disabled in certain circumstances. To d...

5 months ago | 0

| accepted

Answered

Error in generating code for parssing array in ROS message. (example: std_msgs/Int32MultiArray)

Hi , Manage Array Sizes for ROS might help you. Regards, Anmol Dhiman

Error in generating code for parssing array in ROS message. (example: std_msgs/Int32MultiArray)

Hi , Manage Array Sizes for ROS might help you. Regards, Anmol Dhiman

5 months ago | 0

Answered

How to Stop Plot Title From Seperating Into Several Lines

Hi Gina, You can use strcat for the above problem. Assuming there are 2 elements in your cell array. You can use title ( [ ...

How to Stop Plot Title From Seperating Into Several Lines

Hi Gina, You can use strcat for the above problem. Assuming there are 2 elements in your cell array. You can use title ( [ ...

5 months ago | 0

Answered

Index error when calling filter function

Hi Olmo, I am assuming you are using MATLAB 2019b. The above issue can be due to linspace. It is generating indices which are ...

Index error when calling filter function

Hi Olmo, I am assuming you are using MATLAB 2019b. The above issue can be due to linspace. It is generating indices which are ...

5 months ago | 1

| accepted

Answered

add help to live function

Hi Thomas, You cannot change the help text for pre defined functions in MATLAB. Thanks, Anmol Dhiman

add help to live function

Hi Thomas, You cannot change the help text for pre defined functions in MATLAB. Thanks, Anmol Dhiman

5 months ago | 0

Answered

histogram scale on scaterhistogram

Hi Nikoletta, ScatterHistogramChart Properties helps you with the controlling the behaviour of the scatterHistogram. I assume s...

histogram scale on scaterhistogram

Hi Nikoletta, ScatterHistogramChart Properties helps you with the controlling the behaviour of the scatterHistogram. I assume s...

5 months ago | 0

Answered

Error trying to generate a Python Package and Build a Python Application

Hi Ruben, Please close MATLAB, find "lmwmcljmiutils.dll", delete it(save a backup copy), and restart MATLAB.

Error trying to generate a Python Package and Build a Python Application

Hi Ruben, Please close MATLAB, find "lmwmcljmiutils.dll", delete it(save a backup copy), and restart MATLAB.

5 months ago | 0

Answered

How to compare a value to a matrix and repeat the comparison after increasing the value

Hi Ahmed, Based on your explaination while(1) % find number of elements that satisfy [array]<=B numOfElements = len...

How to compare a value to a matrix and repeat the comparison after increasing the value

Hi Ahmed, Based on your explaination while(1) % find number of elements that satisfy [array]<=B numOfElements = len...

5 months ago | 0

| accepted

Answered

Equation of Empirical CDF on Matlab

Hi Bess, You can read about Empherical CDF.

Equation of Empirical CDF on Matlab

Hi Bess, You can read about Empherical CDF.

5 months ago | 0

Answered

global variables in fmincon

Hi Philipp, Global variables are used to share a single value among various functions. There are many other ways to do. You ...

global variables in fmincon

Hi Philipp, Global variables are used to share a single value among various functions. There are many other ways to do. You ...

8 months ago | 0

| accepted

Answered

Tracking of a point in a sequence of images to measure linear displacement

Hi Ammar, Computer Vision Toolboxâ„˘ provides video tracking algorithms, such as continuously adaptive mean shift (CAMShift) and ...

Tracking of a point in a sequence of images to measure linear displacement

Hi Ammar, Computer Vision Toolboxâ„˘ provides video tracking algorithms, such as continuously adaptive mean shift (CAMShift) and ...

8 months ago | 0

Answered

Custom error messages with Class Object

Hi Michael, The above functionality can be achieved using Exception Handling. You can modify the error displayed by catching th...

Custom error messages with Class Object

Hi Michael, The above functionality can be achieved using Exception Handling. You can modify the error displayed by catching th...

8 months ago | 1