I am an application support engineer at Mathworks.

DISCLAIMER: Any advice or opinions here are my own and in no way reflect that of MathWorks.

Answered

Probability density from real data

Hi Fulvio, From your question I understand that you need some MATLAB function that fits a curve to the given points. You can ma...

Probability density from real data

Hi Fulvio, From your question I understand that you need some MATLAB function that fits a curve to the given points. You can ma...

19 days ago | 0

Answered

Eliminate Extra Spaces between Subplots of Different Size

Hi Adenine, You can try the tight_subplot add-on in MATLAB. You can adjust margins and gaps between the axes using this. tigh...

Eliminate Extra Spaces between Subplots of Different Size

Hi Adenine, You can try the tight_subplot add-on in MATLAB. You can adjust margins and gaps between the axes using this. tigh...

20 days ago | 0

Answered

how to uses str2sym

Hi Rim, The str2sym function takes in a symbolic expression in a string form as input & evaluates it. Please refer to the below...

how to uses str2sym

Hi Rim, The str2sym function takes in a symbolic expression in a string form as input & evaluates it. Please refer to the below...

20 days ago | 0

Answered

How to generate all paths or directories that are actually used by a script?

Hi Jiansong, Please refer to dbstack functionality. You can see the location of the functions by setting breakpoints at those f...

How to generate all paths or directories that are actually used by a script?

Hi Jiansong, Please refer to dbstack functionality. You can see the location of the functions by setting breakpoints at those f...

20 days ago | 0

Answered

After install Matlab 2019a - 2020b, plot in figure is reverted

Hi Jan, Please see the below discussions on the similar lines: https://www.mathworks.com/matlabcentral/answers/111668-why-the-...

After install Matlab 2019a - 2020b, plot in figure is reverted

Hi Jan, Please see the below discussions on the similar lines: https://www.mathworks.com/matlabcentral/answers/111668-why-the-...

20 days ago | 1

Answered

unable to add a simulink block, speed and range estimation block ? not found

Hi Aaron, You can refer to the below example which covers four simulink models: FMCW Radar Range Estimation FMCW Radar Range ...

unable to add a simulink block, speed and range estimation block ? not found

Hi Aaron, You can refer to the below example which covers four simulink models: FMCW Radar Range Estimation FMCW Radar Range ...

20 days ago | 0

Answered

Mixed-Integer Linear Programming problem

Hi Nicolo' You can use the MILP solver in MATLAB to solve the problem you have mentioned. The MILP solver solves: So make su...

Mixed-Integer Linear Programming problem

Hi Nicolo' You can use the MILP solver in MATLAB to solve the problem you have mentioned. The MILP solver solves: So make su...

21 days ago | 0

Answered

Image Segmentation Overlapping Objects Same Color

Hi Alex, I understand from your question that you want the sine wave images to be available separately. Since the sine waves ar...

Image Segmentation Overlapping Objects Same Color

Hi Alex, I understand from your question that you want the sine wave images to be available separately. Since the sine waves ar...

21 days ago | 0

Answered

fast plotting of matrix of unconnected data points (no lines) with reduced opacity

Hi James, You can use scatter plot with the matrix of data by using the plotmatrix function where in the function creates multi...

fast plotting of matrix of unconnected data points (no lines) with reduced opacity

Hi James, You can use scatter plot with the matrix of data by using the plotmatrix function where in the function creates multi...

21 days ago | 0

Answered

Arduino PWM signal from PID controller

Hi Dechao, In line 102, you are accessing the index using 'i' in PIDGLg after incrementing it. So in the last iteration, the in...

Arduino PWM signal from PID controller

Hi Dechao, In line 102, you are accessing the index using 'i' in PIDGLg after incrementing it. So in the last iteration, the in...

21 days ago | 0

Answered

Is there a generic modal dialog for appdesigner that can be customized?

Hi Duijnhouwer, From your query I understand that you need a way in MATLAB to create a customizable dialog box. Please refer to...

Is there a generic modal dialog for appdesigner that can be customized?

Hi Duijnhouwer, From your query I understand that you need a way in MATLAB to create a customizable dialog box. Please refer to...

21 days ago | 0

Answered

Wave angle plot in mapping toolbox

Hi Prasad, Please refer to the below documentation for mercator projection: https://www.mathworks.com/help/map/mercator.html ...

Wave angle plot in mapping toolbox

Hi Prasad, Please refer to the below documentation for mercator projection: https://www.mathworks.com/help/map/mercator.html ...

22 days ago | 0

Answered

String to raw data conversion problem (Timestamp Data)

Hi Stuart, I have tried converting the string values of the timestamps into a datetime array using simple string parsing: st =...

String to raw data conversion problem (Timestamp Data)

Hi Stuart, I have tried converting the string values of the timestamps into a datetime array using simple string parsing: st =...

22 days ago | 0

| accepted

Answered

Confusion Matrix of SVM

Hi Baraah, From your question I understand that you want to use Linear, Gaussian and Polynomial Kernel functions in templateSVM...

Confusion Matrix of SVM

Hi Baraah, From your question I understand that you want to use Linear, Gaussian and Polynomial Kernel functions in templateSVM...

22 days ago | 0

Answered

Detecting a specific line in an image

Hi Paloma, You can try using the basic image segmentation method for the line detection if the methods you specified are not w...

Detecting a specific line in an image

Hi Paloma, You can try using the basic image segmentation method for the line detection if the methods you specified are not w...

23 days ago | 0

Answered

How to import a txt file number by number?

Hi Zulkuf, From what I understand from your query is that you want to read all the numbers (which are in text form) from the tx...

How to import a txt file number by number?

Hi Zulkuf, From what I understand from your query is that you want to read all the numbers (which are in text form) from the tx...

24 days ago | 0

Answered

How to solve simultaneous equation?

Hi Jaejin, From the issue that you have mentioned, my understanding is that you are trying to solve y == 1 which must be provid...

How to solve simultaneous equation?

Hi Jaejin, From the issue that you have mentioned, my understanding is that you are trying to solve y == 1 which must be provid...

2 months ago | 0

Answered

No Propagation Channel Model for 802.11a/g

Hi Anand, You can try adding the following add-ons in your matlab for IEEE 802.11a: IEEE 802.11a WLAN MODEL WLAN Toolbox Ple...

No Propagation Channel Model for 802.11a/g

Hi Anand, You can try adding the following add-ons in your matlab for IEEE 802.11a: IEEE 802.11a WLAN MODEL WLAN Toolbox Ple...

2 months ago | 0

Answered

failed to load robotics library

Hi Joyson, Please refer to the below help page and follow the steps provided for fixing this issue: https://www.mathworks.com/...

failed to load robotics library

Hi Joyson, Please refer to the below help page and follow the steps provided for fixing this issue: https://www.mathworks.com/...

2 months ago | 0

Answered

Add a marker on a candle graph

Hi Guglielmo, Candlestick chart represents the fluctuation of prices in a time frame. From the data passed to the candle functi...

Add a marker on a candle graph

Hi Guglielmo, Candlestick chart represents the fluctuation of prices in a time frame. From the data passed to the candle functi...

2 months ago | 0

Answered

how can i handle big .log files?

Hi Shubhika, From the question, I understand that you want to compare different log files. The MATLAB function, visdiff can ...

how can i handle big .log files?

Hi Shubhika, From the question, I understand that you want to compare different log files. The MATLAB function, visdiff can ...

2 months ago | 0

Answered

Changing performance function of neural network to root mean square error.

Hi Onkar, Please refer to the below discussion on the same lines: https://www.mathworks.com/matlabcentral/answers/441253-when-...

Changing performance function of neural network to root mean square error.

Hi Onkar, Please refer to the below discussion on the same lines: https://www.mathworks.com/matlabcentral/answers/441253-when-...

2 months ago | 1

| accepted

Answered

Simulink has no toolbar on macOS

Hi Xu, Please refer to the following steps: 1. Refresh the file system caches using the following commands: >> restoredefault...

Simulink has no toolbar on macOS

Hi Xu, Please refer to the following steps: 1. Refresh the file system caches using the following commands: >> restoredefault...

3 months ago | 0

Answered

MATLAB online is lagging a lot on my device inspite of excellent specifications

Hi Shubham, The issue of section 7.2 task 1 being stuck has been brought into the notice of our developers and they will furthe...

MATLAB online is lagging a lot on my device inspite of excellent specifications

Hi Shubham, The issue of section 7.2 task 1 being stuck has been brought into the notice of our developers and they will furthe...

3 months ago | 0

| accepted

Answered

Detect If a brain has a tumor

Hi Vu, You can train a semantic segmentation network using deep learning. The below link runs through an example on how to im...

Detect If a brain has a tumor

Hi Vu, You can train a semantic segmentation network using deep learning. The below link runs through an example on how to im...

3 months ago | 0

Answered

How I plot this equation

Hi Ghalya, Please refer to fplot for plotting symbolic equations in MATLAB. You may refer to syms to get an understanding on h...

How I plot this equation

Hi Ghalya, Please refer to fplot for plotting symbolic equations in MATLAB. You may refer to syms to get an understanding on h...

3 months ago | 0

Answered

Find the value of the number LaTeX: a a such that the families of curves LaTeX: y=\left(x+c\right)^{-1} y = ( x + c ) − 1 and LaTeX: y\:=\:a\left(x\:+\:k\right)^{\frac{1}{3}} y = a ( x + k ) 1 3 are orthogonal trajectories.

Hi Mauricio, As per my understanding, you intend to solve the above mentioned system of equations pertaining to the specified c...

Find the value of the number LaTeX: a a such that the families of curves LaTeX: y=\left(x+c\right)^{-1} y = ( x + c ) − 1 and LaTeX: y\:=\:a\left(x\:+\:k\right)^{\frac{1}{3}} y = a ( x + k ) 1 3 are orthogonal trajectories.

Hi Mauricio, As per my understanding, you intend to solve the above mentioned system of equations pertaining to the specified c...

3 months ago | 0

Answered

Preventing matlab from reversing my signs in symbolic expressions

Hi Leo, Please refer to the below discussion on the same lines: https://www.mathworks.com/matlabcentral/answers/306851-why-doe...

Preventing matlab from reversing my signs in symbolic expressions

Hi Leo, Please refer to the below discussion on the same lines: https://www.mathworks.com/matlabcentral/answers/306851-why-doe...

3 months ago | 1

| accepted

Answered

How to switch the sign between numerator and denominator in a symbolic expression

Hi Aider, The symbolic math toolbox does some manipulations internally and carries out the simplification to convert the expres...

How to switch the sign between numerator and denominator in a symbolic expression

Hi Aider, The symbolic math toolbox does some manipulations internally and carries out the simplification to convert the expres...

3 months ago | 1

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 months ago