Answered

Curve fitting: seversl curves to one

What I understand from your question and following comments is that you have dataset of Household, Population, GDP, Taxes, Mean ...

Curve fitting: seversl curves to one

What I understand from your question and following comments is that you have dataset of Household, Population, GDP, Taxes, Mean ...

4 meses ago | 0

Answered

machine learning image processing

For cross validation you need to divide your data and use some random part of your data for training and other part of the data ...

machine learning image processing

For cross validation you need to divide your data and use some random part of your data for training and other part of the data ...

4 meses ago | 0

Answered

Using matlab to remove drift from integrated accelerometer data

To resuce signal drift you can try detrending your signal for that you can use "detrend" function. Also, refer to below given MA...

Using matlab to remove drift from integrated accelerometer data

To resuce signal drift you can try detrending your signal for that you can use "detrend" function. Also, refer to below given MA...

4 meses ago | 1

Answered

Undefined function 'ImageClickCallbackHand' for input arguments of type 'matlab.graphics.primitive.Image'.

Consider replacing the last line with call to set function with below code: set(imageHandle1, 'ButtonDownFcn',@app.ImageClickCa...

Undefined function 'ImageClickCallbackHand' for input arguments of type 'matlab.graphics.primitive.Image'.

Consider replacing the last line with call to set function with below code: set(imageHandle1, 'ButtonDownFcn',@app.ImageClickCa...

4 meses ago | 1

Answered

K-means segmentation

You can use function "imsegkmeans()" to perform K-means based image segmentation. I have used this function to segment your imag...

K-means segmentation

You can use function "imsegkmeans()" to perform K-means based image segmentation. I have used this function to segment your imag...

4 meses ago | 1

Answered

Age Regression/Classification on 32x32 images.

Read this documentation page to learn more about Regression using MATLAB: https://www.mathworks.com/help/matlab/data_analysis/li...

Age Regression/Classification on 32x32 images.

Read this documentation page to learn more about Regression using MATLAB: https://www.mathworks.com/help/matlab/data_analysis/li...

4 meses ago | 0

Answered

making a big dat(binary) file

As mentioned in previous comment you can take transpose of array x and thus column by column data can be written. Also I found...

making a big dat(binary) file

As mentioned in previous comment you can take transpose of array x and thus column by column data can be written. Also I found...

4 meses ago | 0

Answered

global legend in tiledlayout

Legend needs a axis object as a target hence it cannot be attached with tiledlayout object itself, hence creating a global legen...

global legend in tiledlayout

Legend needs a axis object as a target hence it cannot be attached with tiledlayout object itself, hence creating a global legen...

4 meses ago | 0

Answered

Multiple X-Axes with separate scales and xlabels

I have found few answers similar to your question, Please find their link below: https://www.mathworks.com/matlabcentral/answer...

Multiple X-Axes with separate scales and xlabels

I have found few answers similar to your question, Please find their link below: https://www.mathworks.com/matlabcentral/answer...

4 meses ago | 0

| accepted

Answered

I've been trying to plot the following figure for t, but I keep getting it wrong.

I have modified your code and plotted the result, Please refer below for the code: function [y1] = y1(t) y1 = 2*(t>=0) + -1*(t...

I've been trying to plot the following figure for t, but I keep getting it wrong.

I have modified your code and plotted the result, Please refer below for the code: function [y1] = y1(t) y1 = 2*(t>=0) + -1*(t...

4 meses ago | 0

Answered

I received error missing entry when installing.

I have found few similar questions, please find their link below: https://www.mathworks.com/matlabcentral/answers/94381-why-doe...

I received error missing entry when installing.

I have found few similar questions, please find their link below: https://www.mathworks.com/matlabcentral/answers/94381-why-doe...

4 meses ago | 0

Answered

How to uninstall MATLAB when the installer is not finished?

I have found few answers similar to your question. Please find their links below: https://www.mathworks.com/matlabcentral/answ...

How to uninstall MATLAB when the installer is not finished?

I have found few answers similar to your question. Please find their links below: https://www.mathworks.com/matlabcentral/answ...

4 meses ago | 1

Answered

Select rgb bands from hyperspectral images

You can extract R,G,B bands from hyperspectral image by extracting bands present in the wavelength range of Red, Green, Blue. Fo...

Select rgb bands from hyperspectral images

You can extract R,G,B bands from hyperspectral image by extracting bands present in the wavelength range of Red, Green, Blue. Fo...

4 meses ago | 0

Answered

How can I save a plot to a variable to be printed later? I'm more specifically referring to problems of plots which involve many different legends/ figure objects such as ones created by looping over a hold on command.

To save plot results programmatically use “saveas() function”. Read its documentation below: https://www.mathworks.com/help/ma...

How can I save a plot to a variable to be printed later? I'm more specifically referring to problems of plots which involve many different legends/ figure objects such as ones created by looping over a hold on command.

To save plot results programmatically use “saveas() function”. Read its documentation below: https://www.mathworks.com/help/ma...

4 meses ago | 0

Answered

error xlsread import dates

“xlsread()” function does not provide option to pass date format - "dd/mm/yyyy" as a name- value pair argument. Refer its docume...

error xlsread import dates

“xlsread()” function does not provide option to pass date format - "dd/mm/yyyy" as a name- value pair argument. Refer its docume...

4 meses ago | 0

| accepted

Answered

data manipulation: increase standard deviation

Standard Deviation gives an estimate of the size of a typical deviation from the mean. Low Standard deviation means data points ...

data manipulation: increase standard deviation

Standard Deviation gives an estimate of the size of a typical deviation from the mean. Low Standard deviation means data points ...

4 meses ago | 0

Answered

Is there a workaround to avoid printing NaN generated due to dtmc when using graphplot?

graphplot function does not have a support for not showing NaN values. Use can use plot function instead as graphplot is like pl...

Is there a workaround to avoid printing NaN generated due to dtmc when using graphplot?

graphplot function does not have a support for not showing NaN values. Use can use plot function instead as graphplot is like pl...

5 meses ago | 1

| accepted

Answered

Slice of a surface plot created by 2D data

You can try using function “slice()”, refer to this link for more information : https://www.mathworks.com/help/matlab/ref/slice...

Slice of a surface plot created by 2D data

You can try using function “slice()”, refer to this link for more information : https://www.mathworks.com/help/matlab/ref/slice...

5 meses ago | 0

Answered

Qualification for checking objects with respect to an interface

You can use function “ismethod” to check whether provided function is a method of object provided as an input argument and then ...

Qualification for checking objects with respect to an interface

You can use function “ismethod” to check whether provided function is a method of object provided as an input argument and then ...

5 meses ago | 0

Answered

How to get hotelling's t-sqaure for first few components of PCA

Please read “Hotelling’s T-squared Statistic” part in the “More about” section in the documentation of pca function, it explains...

How to get hotelling's t-sqaure for first few components of PCA

Please read “Hotelling’s T-squared Statistic” part in the “More about” section in the documentation of pca function, it explains...

5 meses ago | 0

Answered

A Multivariate Gaussian Bump plotting using Imagesc

I have found a similar question here : https://www.mathworks.com/matlabcentral/answers/489977-multivariate-gaussian-user-defined...

A Multivariate Gaussian Bump plotting using Imagesc

I have found a similar question here : https://www.mathworks.com/matlabcentral/answers/489977-multivariate-gaussian-user-defined...

5 meses ago | 0

Answered

Number of clusters from a dendrogram.

I found a similar question here: https://www.mathworks.com/matlabcentral/answers/375819-extract-clusters-info-from-dendrogram-as...

Number of clusters from a dendrogram.

I found a similar question here: https://www.mathworks.com/matlabcentral/answers/375819-extract-clusters-info-from-dendrogram-as...

5 meses ago | 0

Answered

Error using boxlabeldatastore with Image Labeler dataset

I tried reproducing the problem using the script and mat file provided but I wasn’t able to run the script as the “data.gTruth.D...

Error using boxlabeldatastore with Image Labeler dataset

I tried reproducing the problem using the script and mat file provided but I wasn’t able to run the script as the “data.gTruth.D...

5 meses ago | 0

Answered

Using Mahalanobis distance in hierarchical cluster analysis error

The error encountered is because for your data “samples” of size 25 x 106720 when covariance matrix is computed in linkage funct...

Using Mahalanobis distance in hierarchical cluster analysis error

The error encountered is because for your data “samples” of size 25 x 106720 when covariance matrix is computed in linkage funct...

5 meses ago | 0

Answered

convert a Python tuple containing string and numerical data types to Matlab

You can either save the data as 1)Python tuple itself in .mat file. For that you have to create a variable of type “py.tuple(...

convert a Python tuple containing string and numerical data types to Matlab

You can either save the data as 1)Python tuple itself in .mat file. For that you have to create a variable of type “py.tuple(...

5 meses ago | 0

Answered

GPU-based anisotropic filtering of grayscale images

MATLAB has function named “imdiffusefilt” for Anisotropic diffusion filtering of images, but it does not have GPU support for th...

GPU-based anisotropic filtering of grayscale images

MATLAB has function named “imdiffusefilt” for Anisotropic diffusion filtering of images, but it does not have GPU support for th...

5 meses ago | 0

Answered

how to train svm using glcm features

GLCM matrix easily helps to extract the texture features. To calculate different statistics (Example: Contrast, Correlation) fr...

how to train svm using glcm features

GLCM matrix easily helps to extract the texture features. To calculate different statistics (Example: Contrast, Correlation) fr...

5 meses ago | 0

Answered

error report, when I run the example of fitcsvm

It seems the error encountered is caused because of the size mismatch of a table used while creating optimizing variable for fit...

error report, when I run the example of fitcsvm

It seems the error encountered is caused because of the size mismatch of a table used while creating optimizing variable for fit...

5 meses ago | 0

Answered

Laplacian of Gaussian (LoG) of the ultrasound image in CSV format

There are two steps required : 1) Converting data from CSV file to matrix format 2) Reading that matrix and applying Laplacia...

Laplacian of Gaussian (LoG) of the ultrasound image in CSV format

There are two steps required : 1) Converting data from CSV file to matrix format 2) Reading that matrix and applying Laplacia...

5 meses ago | 0

Answered

How can I visualize 3D matrix? (extension of imagesc)

For visualizing the slices of a 3D matrix, you can try one of the below methods: imshow3D function displays images in a slice b...

How can I visualize 3D matrix? (extension of imagesc)

For visualizing the slices of a 3D matrix, you can try one of the below methods: imshow3D function displays images in a slice b...

5 meses ago | 0