Answered
Multidimensional array to (multidimensional) table.
array2table() function is used to covert a matrix to table, but it does not accepts 3-D matrix (image in this case) as an input ...

4 years ago | 0

Answered
How to use OpenDrive for road designing ?? Is there any proper guide for this ??
For creating OpenDrive files Refer to the comments section of this MATLAB answer it has mention of many software tools that can ...

4 years ago | 0

| accepted

Answered
Connecting a Matlab function to Modelica
You can store values in a mat file and that can be used to communicate between MATLAB and Modelica.The part of the question - " ...

4 years ago | 0

Answered
How to count of numbers in matlab GUI program?
You can try following steps to find the count of numbers in the Edit field: Retrieve the string entered from the Edit Field x ...

4 years ago | 0

Answered
Making a GUI for a trivia game
You can create apps interactively using the App Designer. This provides Design view and Code view for easy development of app. D...

4 years ago | 0

| accepted

Answered
Is it s defect that the fitcsvm() function picked some "far away" points as the support vectors?
To understand how well or bad svm classification is performing calculate loss error, you can use loss function for the same. Ref...

4 years ago | 0

Answered
Index expression out of bounds. Attempted to access element 2. The valid range is 1-1. More information
The error encountered implies that you are trying to access an index greater than one for a variable of size 1*1 that is its hav...

4 years ago | 0

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 ...

4 years 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 ...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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 ...

4 years 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...

4 years 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...

4 years 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 ...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years ago | 0

Load more