已回答
Which criteria to use while Evaluating minimum number of cluster before k-means ?
Hi, What criteria would work best for you totally depends on the data you are using. You need to try different criteria values ...

4 years 前 | 0

| 已接受

已回答
How to calculate dimension using PCA
You can specify the number of components you require while applying PCA using 'NumComponents' option. Have a look here.

4 years 前 | 0

| 已接受

已回答
GUI How to insert multiple csv into uitable?
Hi, First of all, for your problem, I would recommend you to use App Designer instead of GUIDE as recommended here. You need ...

4 years 前 | 0

| 已接受

已回答
Get all pairs from a 2D matrix in columns (CSV)
Hi, This can be achieved as follows: [m,n] = ndgrid(rows,columns); row_col = [m(:),n(:)]; Here row_col results in: row_col...

4 years 前 | 1

| 已接受

已回答
How to detect a matrix of an image?
Hi, This can be done through blob analysis methods like Color Thresholding, using Color Thresholder App in Image Processing Too...

4 years 前 | 1

已回答
I want MATLAB to pull restaurant names from Yelp
Hi, For your specific case, if you look at the textData returned (for say, citylocation = 'New York' and statelocation = 'NY'),...

4 years 前 | 0

已回答
I have a matrix that contains strings and i have to find words in it.
Hi, You can use strfind function to determine the presence of elements in you char array. matrix = ['a','b','d','f'; ...

4 years 前 | 1

| 已接受

已回答
Plotting multiple graphs in one figure
Hi, The problem is specifying creation of a figure inside the outer for loop. You can declare it outside, specifying a uniform ...

4 years 前 | 0

| 已接受

已回答
how to add datatip to a line object inside an UIAxes?
Hi, This issue occurs when we try to plot mixed datatypes in UIAxes in R2019a, but it has been fixed in later versions.

4 years 前 | 0

已回答
a simple line plot in an uiaxes in AppDesigner leads to error messages
Hi, This issue occurs when we try to plot mixed datatypes in UIAxes in R2019a. This has been fixed in R2019b. Meanwhile for R2...

4 years 前 | 0

已回答
How does grid extracts feature descriptors in the Bag of Visual Words?
Hi, 'grid' algorithm is a Point Selection Method which is the followed by the step of Feature Extraction from the selected poin...

4 years 前 | 1

| 已接受

已回答
Splitting data using loop
Hi, This can be achieved using findgroups and splitapply. For the example given below, I have used fisherirs dataset, which con...

4 years 前 | 0

已回答
Trining a neural network with leave one out crossval method
Hi, 'Leave-one-out' is a cross validation method. You can generate cross validation indices for train and test set using cvpart...

4 years 前 | 0

已回答
How can I get data from a website?
Hi, You can use a combination of webread and regexp, to extract the required table (in this case, has class = "genTbl closedTbl...

4 years 前 | 0

已回答
How can I save into an struct multiple arrays?
Hi, I understand you want to save numeric id’s as fields and sub matrices as values, in a struct, given a matrix and a double...

4 years 前 | 0

已回答
Importing website information to Matlab
Hi, A tedious way of doing it would be by using webread. This would return the HTML page source of the URL provided, which yo...

5 years 前 | 1

已回答
How to write a function to determine if a date entered is valid
Hi, You can try the following function and see if it works for you: function valid = valid_date(year, month, date) if(nar...

5 years 前 | 0

已回答
How to run a custom command from a UI
Hi, As Stephen suggested, you can simply use eval or evalc with the expression as the arguement. function SomeButtonPushed(app...

5 years 前 | 0

已回答
how work with Datastore from two or more file excel sheets
Hi, I don't think that is possible using Datastore, but one possible workaround could be: path = 'Source'; files = dir(fullf...

5 years 前 | 0

| 已接受

已回答
Using CNN for time seriee feature extraction
Hi, You might want to look at an example here.

5 years 前 | 1

| 已接受

已回答
Error in Opening the Simulink Model from Example given in Documentation
Hi, As correctly pointed out, you are missing the parrot hardware support package. You can install the same from here.

5 years 前 | 0

已回答
how do i load 100 txt files to a cell array and use specific data entries in each file to build a variable vector
Hi, Assuming you want to process all files and store the numerical value in the 18th line of each file to a 100x1 double vector...

5 years 前 | 0

已回答
How to plot multiple CDF in one figure?
Hi, You can easily use 'hold on' between each cdfplot for each dataset. For example: load coastlines; cdfplot(coastlat); ho...

5 years 前 | 0

已回答
IDGREYMODEL - Too many inputs - but only one input - Help please
Hi, The first issue is the missing Ts parameter. The value of Ts parameter is set based on the value of ‘fcnType’ (if not prov...

5 years 前 | 1

| 已接受

已回答
How can I connect a .m script to a GUI?
Hi, You can use App Designer to do the same. Firstly, you need to create Edit Fields for all the information that you want the ...

5 years 前 | 1

已回答
How to use removeLayers without layerNames (How to remove layers if the layers don't have names)?
Hi, I cannot reproduce the issue at my end. The same snippet of code that you mentioned, gives the layer details including the...

5 years 前 | 0

已回答
Writing my own function to find one-norm
Hi, If you want the function to accept the matrix as a parameter, you need: function f = normone(A) f = norm(A,1); end You ...

5 years 前 | 0

已回答
How would I create a GUI with a push button that when clicked, guy data will be save in .txt file?
Hi, You can do so by adding a SaveFileButtonPushed() callback. In this function you can access the values of the fields and dum...

5 years 前 | 0

已回答
Is it possible to open .mlapp (App Designer) files on matlab mobile?
Hi, It is not possible as of now.

5 years 前 | 0

加载更多