Answered

What method does SLAM use for localization?

lidarSLAM is a graph-based SLAM implementation. The lidar scans map the environment and are correlated between each other to bui...

What method does SLAM use for localization?

lidarSLAM is a graph-based SLAM implementation. The lidar scans map the environment and are correlated between each other to bui...

3 months ago | 1

Answered

Angle indication with lidarSlam

I understand that the Map is already known to the robot. lidarSlam object helps in building the Map by performing localization ...

Angle indication with lidarSlam

I understand that the Map is already known to the robot. lidarSlam object helps in building the Map by performing localization ...

3 months ago | 1

Answered

output coordinates with conv2

I assume you want to find the output size after 2D convolution with an argument as ‘valid’. In the case where S = conv2(S1, S...

output coordinates with conv2

I assume you want to find the output size after 2D convolution with an argument as ‘valid’. In the case where S = conv2(S1, S...

3 months ago | 2

| accepted

Answered

How to make a 1D become 2D and create a contourf plot

You could use meshgrid which returns the 2-D grid coordinates contained in the vectors time and height. [timeX,heightY] = meshg...

How to make a 1D become 2D and create a contourf plot

You could use meshgrid which returns the 2-D grid coordinates contained in the vectors time and height. [timeX,heightY] = meshg...

3 months ago | 0

| accepted

Answered

Adjusting zticks and xticks position for bar plot

You can try rotating the labels of the overlapping axes. Refer xtickangle for more information.

Adjusting zticks and xticks position for bar plot

You can try rotating the labels of the overlapping axes. Refer xtickangle for more information.

4 months ago | 0

Answered

Plotting EEG 36 channel data using code

You can use pwelch for finding the power spectral density of the signal. For example, pwelch(x,250*30, [],[],250); where x ...

Plotting EEG 36 channel data using code

You can use pwelch for finding the power spectral density of the signal. For example, pwelch(x,250*30, [],[],250); where x ...

4 months ago | 0

Answered

Recognising/classify segmented objects in RGB image

Hello, The following sample code will extract the segment of image that you could use for classification. Here I assumed you w...

Recognising/classify segmented objects in RGB image

Hello, The following sample code will extract the segment of image that you could use for classification. Here I assumed you w...

4 months ago | 0

| accepted

Answered

AppDesigner future question: Menu Bar and Context Menus

Hello, Menu Bar is currently available in app designer. Please refer the following link for the available components in the co...

AppDesigner future question: Menu Bar and Context Menus

Hello, Menu Bar is currently available in app designer. Please refer the following link for the available components in the co...

4 months ago | 1

| accepted

Answered

is there any way to use a bmp file with PRM to find path planning route

The .bmp file can be first converted into a binaryOccupancyMap. This map can be used as an input to the mobileRobotPRM function ...

is there any way to use a bmp file with PRM to find path planning route

The .bmp file can be first converted into a binaryOccupancyMap. This map can be used as an input to the mobileRobotPRM function ...

4 months ago | 1

Answered

Connection to Thomson Reuter Eikon to download information on prices and interest rates

The following example will be helpful.

Connection to Thomson Reuter Eikon to download information on prices and interest rates

The following example will be helpful.

5 months ago | 0

Answered

How do you change the local location of the MATLAB Drive folder?

Refer the instructions in the following MATLAB Answer. https://in.mathworks.com/matlabcentral/answers/378069-matlab-drive-canno...

How do you change the local location of the MATLAB Drive folder?

Refer the instructions in the following MATLAB Answer. https://in.mathworks.com/matlabcentral/answers/378069-matlab-drive-canno...

5 months ago | 0

| accepted

Answered

Decimate signal that contains NANs

I understand you want to decimate signals that contain NaN. I assume you would like to decimate a signal by a factor r if it co...

Decimate signal that contains NANs

I understand you want to decimate signals that contain NaN. I assume you would like to decimate a signal by a factor r if it co...

5 months ago | 0

Answered

i collected data from a spectrum analyzer and it saved as a .mat file. I confirmed that the signals I collected are baseband signals. Do I still need to create a .bb format file from this data? How is the .mat file different from the .bb file?

It is not mandatory to save base band signal in the .bb format. comm.BasebandFileWriter object store the base band signals in ...

i collected data from a spectrum analyzer and it saved as a .mat file. I confirmed that the signals I collected are baseband signals. Do I still need to create a .bb format file from this data? How is the .mat file different from the .bb file?

It is not mandatory to save base band signal in the .bb format. comm.BasebandFileWriter object store the base band signals in ...

5 months ago | 0

Answered

how to add a FeedForward layer after my LSTM layer

You could add desired layers after your LSTM network layer by specifying them as columns in the layers array. Consider an examp...

how to add a FeedForward layer after my LSTM layer

You could add desired layers after your LSTM network layer by specifying them as columns in the layers array. Consider an examp...

5 months ago | 0

Answered

Drop-down icon in matlab app designer

Hello, The position of drop-down menus does not affect its functionality. I understand you would like to add two drop-down men...

Drop-down icon in matlab app designer

Hello, The position of drop-down menus does not affect its functionality. I understand you would like to add two drop-down men...

5 months ago | 1

| accepted

Answered

Using subs on contents of a cell

You can substitute I1 with I_val and I2 with I_val seperately. I = subs(cell2sym(I),I1,I_val); But once you do substitution w...

Using subs on contents of a cell

You can substitute I1 with I_val and I2 with I_val seperately. I = subs(cell2sym(I),I1,I_val); But once you do substitution w...

6 months ago | 0

| accepted

Answered

how can I silently uninstall MatLab R2017

Hi, The following link will be useful. https://in.mathworks.com/matlabcentral/answers/100721-how-do-i-use-the-silent-uninstall...

how can I silently uninstall MatLab R2017

Hi, The following link will be useful. https://in.mathworks.com/matlabcentral/answers/100721-how-do-i-use-the-silent-uninstall...

7 months ago | 0

| accepted

Answered

How can I genereate only one h file?

Hello, You can have a single header file modelname.h as codegen output by setting the File packaging format in Simulink Model C...

How can I genereate only one h file?

Hello, You can have a single header file modelname.h as codegen output by setting the File packaging format in Simulink Model C...

7 months ago | 0

Answered

Expressing a matrix with parameters and letters

Define the variables F1, F2, and F3 as symbolic variables. syms F1, F2, F3 B = inv(A); b = [0 F1 0 F2 0 F3 0 0 0 ]’; x = B*b...

Expressing a matrix with parameters and letters

Define the variables F1, F2, and F3 as symbolic variables. syms F1, F2, F3 B = inv(A); b = [0 F1 0 F2 0 F3 0 0 0 ]’; x = B*b...

7 months ago | 1

| accepted

Answered

Histogram with different sized bins and edges to illustrate wave periods

The following code will plot the above bar graph waveperiods = (9:21); observations = [1 5 14 22 28 5 6 2 1 0 1 0 0]; groups ...

Histogram with different sized bins and edges to illustrate wave periods

The following code will plot the above bar graph waveperiods = (9:21); observations = [1 5 14 22 28 5 6 2 1 0 1 0 0]; groups ...

7 months ago | 0

| accepted

Answered

Unable to play audio because no audio outputs were found

If you just want to play the music in MATLAB Online, you could use ‘sound’ instead. But it will have lesser capabilities compare...

Unable to play audio because no audio outputs were found

If you just want to play the music in MATLAB Online, you could use ‘sound’ instead. But it will have lesser capabilities compare...

7 months ago | 0

Answered

finding sub sequences of a data set

I assume you want to extract a sub-vector of length 30 from each row. But the total length of the column is 129 which is not div...

finding sub sequences of a data set

I assume you want to extract a sub-vector of length 30 from each row. But the total length of the column is 129 which is not div...

7 months ago | 0

Answered

Need to assign values to variable in a vector

The subs function helps in doing the symbolic substitution. The following snippet will do the substitution. x1=input("Please In...

Need to assign values to variable in a vector

The subs function helps in doing the symbolic substitution. The following snippet will do the substitution. x1=input("Please In...

7 months ago | 0

Answered

Simulink modeling from the command line

Refer to the following MATLAB Answer. Question 2 addresses the above query. https://in.mathworks.com/matlabcentral/answers/1011...

Simulink modeling from the command line

Refer to the following MATLAB Answer. Question 2 addresses the above query. https://in.mathworks.com/matlabcentral/answers/1011...

7 months ago | 0

| accepted

Answered

Input folders or files do not contain specified file extensions:

Here if you do not define the ReadFcn explicitly, the default function used is imread() which is not supported for .nii extensio...

Input folders or files do not contain specified file extensions:

Here if you do not define the ReadFcn explicitly, the default function used is imread() which is not supported for .nii extensio...

7 months ago | 1

| accepted

Answered

Inserting Bounding Boxes when it is more than two together

A simple if condition before displaying the annotation will do if (size(bboxes,1) > 1) for ii = 1 : size(bboxes, 1) ...

Inserting Bounding Boxes when it is more than two together

A simple if condition before displaying the annotation will do if (size(bboxes,1) > 1) for ii = 1 : size(bboxes, 1) ...

7 months ago | 0

| accepted

Answered

alt key in live script

You can disable the toolbox mnemonics by executing the following command. com.mathworks.desktop.mnemonics.MnemonicsManagers.get...

alt key in live script

You can disable the toolbox mnemonics by executing the following command. com.mathworks.desktop.mnemonics.MnemonicsManagers.get...

7 months ago | 3

Answered

How to plot PWM signal with specific duty cycle and frequency ?

The following answer explains how to generate a square wave in Matlab with frequency,amplitude,voltage offset, and duty cycle....

How to plot PWM signal with specific duty cycle and frequency ?

The following answer explains how to generate a square wave in Matlab with frequency,amplitude,voltage offset, and duty cycle....

7 months ago | 1

| accepted

Answered

rand(n,1)

It is difficult to reason why exactly three different pairs generated from the above information. Atleast from MATLAB R2012a on...

rand(n,1)

It is difficult to reason why exactly three different pairs generated from the above information. Atleast from MATLAB R2012a on...

7 months ago | 0

Answered

Question of FFFT in Matlab

The frequency of the sine wave is defined as 128 Hz (f = 128) in the above code. Hence there will be two impulses (ideally, but ...

Question of FFFT in Matlab

The frequency of the sine wave is defined as 128 Hz (f = 128) in the above code. Hence there will be two impulses (ideally, but ...

7 months ago | 0

| accepted