I am Application Support Engineer at Mathworks.

Disclaimer: Any articles /ideas/opinions here are my own and in on way reflects that of Mathworks.

Answered

Nonlinear constraint function is undefined at initial point. Fmincon cannot continue.

From my understanding you are getting an error "Nonlinear constraint function is undefined at initial point". This might be beca...

Nonlinear constraint function is undefined at initial point. Fmincon cannot continue.

From my understanding you are getting an error "Nonlinear constraint function is undefined at initial point". This might be beca...

1 day ago | 0

Answered

How to plot bode diagram of a denormalized transfer function on MATLAB?

From my understanding you want to plot bode diagram of a denormalized transfer function. You should be able to do so using bode ...

How to plot bode diagram of a denormalized transfer function on MATLAB?

From my understanding you want to plot bode diagram of a denormalized transfer function. You should be able to do so using bode ...

1 day ago | 0

Answered

I wish to import all the image into a .mat file for machine learning.

From my understanding you want to import multiple images into MATLAB. Here is a code which might help you: % Read in all images...

I wish to import all the image into a .mat file for machine learning.

From my understanding you want to import multiple images into MATLAB. Here is a code which might help you: % Read in all images...

1 day ago | 0

Answered

How to write and run while loop in app design?

From my understanding you are not able to run while loop in your code. I dont see anything wrong with the loop or with the code ...

How to write and run while loop in app design?

From my understanding you are not able to run while loop in your code. I dont see anything wrong with the loop or with the code ...

1 day ago | 0

Answered

How to interpret the learnableParameters (Reinforcement Learning Toolbox)?

From my understanding you want to know why are there 6 values returned as the result of the getLearnableParameters function. I a...

How to interpret the learnableParameters (Reinforcement Learning Toolbox)?

From my understanding you want to know why are there 6 values returned as the result of the getLearnableParameters function. I a...

1 day ago | 0

Answered

How can I run a code for a pre-defined time duration?

From my understanding your functions are struck in infinite loop, and you want to stop this when it happens. You can resolve thi...

How can I run a code for a pre-defined time duration?

From my understanding your functions are struck in infinite loop, and you want to stop this when it happens. You can resolve thi...

1 day ago | 0

| accepted

Answered

App Designer, display number in numeric field

From my understanding you are getting an not able to change the testeditfield value, this is because you are not setting this va...

App Designer, display number in numeric field

From my understanding you are getting an not able to change the testeditfield value, this is because you are not setting this va...

1 day ago | 0

Answered

How to read a mraw file

From my understanding you want to read .mraw file. You can refer to the code bellow. I=readmraw('Photron_mraw_example',[1 10])...

How to read a mraw file

From my understanding you want to read .mraw file. You can refer to the code bellow. I=readmraw('Photron_mraw_example',[1 10])...

2 months ago | 0

| accepted

Answered

Matlab 2021a on Big Sur 11.3 Freeze

From my understanding for you MATLAB is freezing on Big Sur 11.3. This might be due the simultaneous launching of MATLAB Editor ...

Matlab 2021a on Big Sur 11.3 Freeze

From my understanding for you MATLAB is freezing on Big Sur 11.3. This might be due the simultaneous launching of MATLAB Editor ...

2 months ago | 0

Answered

Drag and Drop Nodes in uitree

Form my understanding you want to know if drag and drop feature is available for the uitree object. Unfortunately, there is no b...

Drag and Drop Nodes in uitree

Form my understanding you want to know if drag and drop feature is available for the uitree object. Unfortunately, there is no b...

2 months ago | 0

Answered

How can I display variables on an LCD screen using printLCD(lcd,) ?

From my understanding you are not able to run printLCD(lcd,123). This might be because second argument of the printLCD must be a...

How can I display variables on an LCD screen using printLCD(lcd,) ?

From my understanding you are not able to run printLCD(lcd,123). This might be because second argument of the printLCD must be a...

2 months ago | 0

Answered

Issue with using Serialport to take in hex values and plot decimal

From my understanding you want to convert negative hex numbers to decimal, The ability to use these functions on negative number...

Issue with using Serialport to take in hex values and plot decimal

From my understanding you want to convert negative hex numbers to decimal, The ability to use these functions on negative number...

2 months ago | 0

Answered

Questions about bvp4c solution

From my understanding you have few doutes on the arguments of bvp4c function. 'bvp4c' function not output 'sol.stats' when '...

Questions about bvp4c solution

From my understanding you have few doutes on the arguments of bvp4c function. 'bvp4c' function not output 'sol.stats' when '...

2 months ago | 0

| accepted

Answered

legends rescaling issue in MATLAB figure saving

From my understanding when you save a plot it's legend's font size is reverting back to default. I have brought this issue to th...

legends rescaling issue in MATLAB figure saving

From my understanding when you save a plot it's legend's font size is reverting back to default. I have brought this issue to th...

2 months ago | 0

Answered

Lİcense file not found

From my understanding you want to know more about the error you are getting. An options file (generally called mlm.opt) allows t...

Lİcense file not found

From my understanding you want to know more about the error you are getting. An options file (generally called mlm.opt) allows t...

2 months ago | 0

Answered

Re-use a neural network with Deep Learning Toolbox

From my understanding you want to reuse an existing neural network model. To reuse a trained neural network, follow these steps...

Re-use a neural network with Deep Learning Toolbox

From my understanding you want to reuse an existing neural network model. To reuse a trained neural network, follow these steps...

2 months ago | 0

| accepted

Answered

Ask question on my GA (Genetic Algorithm) Settings

From my understanding you want to know more about the option for your genetic algorithm. You can refer genetic algorithm options...

Ask question on my GA (Genetic Algorithm) Settings

From my understanding you want to know more about the option for your genetic algorithm. You can refer genetic algorithm options...

2 months ago | 0

Answered

how to Reconstruct full image from 128 patches of 256*256?

From my understanding you want to combine multiple images to from single image. For this you can refer to the imtitle. For exam...

how to Reconstruct full image from 128 patches of 256*256?

From my understanding you want to combine multiple images to from single image. For this you can refer to the imtitle. For exam...

2 months ago | 0

| accepted

Answered

Loading multiple files into matlab

From my understanding you want to load data form all the mat files into the workspace and assign it into different variables. In...

Loading multiple files into matlab

From my understanding you want to load data form all the mat files into the workspace and assign it into different variables. In...

2 months ago | 0

| accepted

Answered

How to combine the functions to get this graph - down below

From my understanding you are getting wrong result from your experiment. This might be because C value in the paper might be neg...

How to combine the functions to get this graph - down below

From my understanding you are getting wrong result from your experiment. This might be because C value in the paper might be neg...

2 months ago | 0

| accepted

Answered

Image subtraction in infrared images

From my understanding you want to substract two images. You can simply do a = imread('image1.jpg'); b = imread('image2.jpg'); ...

Image subtraction in infrared images

From my understanding you want to substract two images. You can simply do a = imread('image1.jpg'); b = imread('image2.jpg'); ...

2 months ago | 0

| accepted

Answered

How to upload files(any format) from any folder other than current folder in app designed by matlab app designer

From my understanding you want to uplode files from other than the current folder. Here is a code which might help you. [stmfi...

How to upload files(any format) from any folder other than current folder in app designed by matlab app designer

From my understanding you want to uplode files from other than the current folder. Here is a code which might help you. [stmfi...

2 months ago | 0

| accepted

Answered

3d Helix trajectory generation in robotics toolbox

From my understanding you want to create a 3d helix path. Here is the code which might help you. r=100; theta=0:pi/50:10*pi; ...

3d Helix trajectory generation in robotics toolbox

From my understanding you want to create a 3d helix path. Here is the code which might help you. r=100; theta=0:pi/50:10*pi; ...

2 months ago | 0

| accepted

Answered

Need help with BER

From my understanding you want to know how to user BER to compare two images. Here is an example : A=imread('m.jpg) B=imread('...

Need help with BER

From my understanding you want to know how to user BER to compare two images. Here is an example : A=imread('m.jpg) B=imread('...

2 months ago | 0

Answered

How to get an expression from a textbox in GUI?

From my understanding you want to get a equation from the textbox of the GUI. You can use inline like so: equ=get(handles.edit1...

How to get an expression from a textbox in GUI?

From my understanding you want to get a equation from the textbox of the GUI. You can use inline like so: equ=get(handles.edit1...

2 months ago | 0

Answered

How to find the nearby sampling stations

From my understanding you want to speed up the process of finding the nearest location. You can use pdist2 to find pair-wise dis...

How to find the nearby sampling stations

From my understanding you want to speed up the process of finding the nearest location. You can use pdist2 to find pair-wise dis...

2 months ago | 0

Answered

I have made several matrics where I tried to read a txt file. I want to perform the below problem I have mentioned. Help is required.

From my understanding you want to find the index of the matrix with source and target nodes which follows certain condition (for...

I have made several matrics where I tried to read a txt file. I want to perform the below problem I have mentioned. Help is required.

From my understanding you want to find the index of the matrix with source and target nodes which follows certain condition (for...

2 months ago | 0

Answered

Improve code for the numerical aproximation of the 1D fractional heat equation

From my understanding you want to improve the performance of above code. MATLAB is optimized to work on matrices and vectorizing...

Improve code for the numerical aproximation of the 1D fractional heat equation

From my understanding you want to improve the performance of above code. MATLAB is optimized to work on matrices and vectorizing...

2 months ago | 0

Answered

Using Newton method to find value of x1 and y1

From my understanding you want to solve above equation using Newton's method. Here is an similar question which you can follow t...

Using Newton method to find value of x1 and y1

From my understanding you want to solve above equation using Newton's method. Here is an similar question which you can follow t...

2 months ago | 0

Answered

Error: Failure at t=1.776273e-02. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (6.310588e-17) at time t.

From my understanding you are getting an error while running above code. This is because MATLAB is trying to reduce the ti...

Error: Failure at t=1.776273e-02. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (6.310588e-17) at time t.

From my understanding you are getting an error while running above code. This is because MATLAB is trying to reduce the ti...

2 months ago | 0