已回答
How to select non-NaN from a matrix?
The following should work X = ones(10,4); X(3,4) = NaN; X(3,6) = NaN; X(10,1) = NaN; newData=X((all((~i...

7 years 前 | 2

| 已接受

提问


How to select non-NaN from a matrix?
Say we are only interested to extract row with only a non-NAN, 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 NaN 0 NaN 1 1 1 1 ...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to use MESHGRID or NDGRID instead of multiple FOR-Loop?
Dear coder, Briefly, the program objective was to evaluate all possible constant pairs for a different set of condition. Sinc...

7 years 前 | 3 个回答 | 0

3

个回答

已回答
How to use MESHGRID or NDGRID instead of multiple FOR-Loop?
Credit to KSSV & Andrei Bobrov, their proposed idea lead to the solution below. KSSV: His idea allow more flexibility for t...

7 years 前 | 0

| 已接受

提问


Any approach faster to concatenate multi dimension cell?
Dear all, The objective was to concatenate multi dimension cell, may I know how to avoid such a FOR loop. Thanks in advanc...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to access second axes in the PLOTYY syntax?
Dear all, This thread is a continuation from the following <https://www.mathworks.com/matlabcentral/answers/360516-matlab-fai...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to change target class when using CLASSPERF
Dear all, I wonder, How to specify a particular label as the target class when using CLASSPERF. For example, I want to indic...

7 years 前 | 1 个回答 | 0

1

个回答

提问


MATLAB fail to create Chart with Multiple x-Axes and y-Axes
Dear all, the objective was to two x-Axes and y-Axes. However, I am unable to produce the intended graph even follow the <https...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Unable to modify the X-axis and LINKAXES setting when using YYAXIS
Dear all, the objective was to plot a double YYaxis for a two different signal. In addition, the X-axis will have two different...

7 years 前 | 0 个回答 | 0

0

个回答

提问


What and how to understand the math behind YYaxis syntax in MATLAB
Dear all, I am interested to know how does MATLAB under the syntax YYaxis was able to fitted two signals with different scales....

7 years 前 | 1 个回答 | 0

1

个回答

提问


No ticks being displayed when using XTickLabel
Dear all, The idea was to add ticks label to the x axis with a predefined label. The vector label was a mix of empty cell (i.e....

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to convert cell with numeric and string-nan into TYPE double
Dear all, I have a cell with the combination of number and string NaN. May I know how I can convert the content into a double t...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to effectively concatenate values in cells with different dimension into single column double
Dear Coder, I have cells with diffrent dimension, for example cell {1}=[1 2 3], cell {2}=[ 4 5 6 7 8] cell{3}=[9 10]. How ca...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Support Vector Machine: SPEED-UP and make the computational of SVM FITCSVM & PREDICT more efficient
Dear all I am using the build-in MATLAB svm training and classification to classify a binary class (i.e., class 0 OR 1). To a...

7 years 前 | 0 个回答 | 0

0

个回答

提问


How to combine PLOT the output from Density Estimation and Gaussian Function
Dear coder, Im interested to plot the output from KSDENSITY as shown below <</matlabcentral/answers/uploaded_files/85432/...

7 years 前 | 0 个回答 | 0

0

个回答

已回答
How to PLOT Receiver operating characteristic in MATLAB: For different threshold used in Kernel Density Estimation
Similar concept but does answer the question in this thread can be found in this <https://www.mathworks.com/matlabcentral/answer...

7 years 前 | 0

| 已接受

提问


How to use ROC FUNCTION in MATLAB
Dear Matlab user, I have difficulties in applying the ROC FUNCTION. Let have the discussion by having a simple example. Assu...

7 years 前 | 1 个回答 | 2

1

个回答

提问


How to PLOT Receiver operating characteristic in MATLAB: For different threshold used in Kernel Density Estimation
Dear coder, I am aware similar questions has been ask in <https://www.mathworks.com/matlabcentral/answers/257404-how-to-plot-r...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Code Optimization & simplification: BSXFUN & Confusion Matrix Calculation
Dear all The main objective of this thread is toward codes optimization & simplification. There are two objectives 1) To ...

7 years 前 | 0 个回答 | 0

0

个回答

提问


Used CROSSVALIND to Randomize rows with numerical only but not NAN
Dear all, I have a column double vector which consist 0,1 and NAN. The big idea was to assign the column vector into either one...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to assign a column of CATEGORICAL array to TABLE
Dear all, My understanding is TABLE each variable in the table to have a different data type. However, I cannot find a straight...

7 years 前 | 1 个回答 | 0

1

个回答

已回答
How to extract every elements with different dimension at multiple cells in efficient manner?
Dear Akira, Thanks for your response, I give an idea of using the *VERTCAT*. Using *VERTCAT* instead of *HORZCAT* skip the need...

7 years 前 | 0

| 已接受

提问


How to effectively assign values to different location in a TABLE?
Dear all, Pertaining to the above subject. I want to assign the elements in vector S to the TABLE at each of the locations as ...

7 years 前 | 2 个回答 | 0

2

个回答

提问


How to extract every elements with different dimension at multiple cells in efficient manner?
Dear all, Say I have three cells, where the element dd = [49;50;51;52;53;54] [55;56;57] [85;86;87;88;89;90] The objec...

7 years 前 | 3 个回答 | 0

3

个回答

提问


How to determine maximum of n times FOR loop iteration
Dear all, This may sound so basic, but I had google using various keyword (or maybe I used wrong keyword), but I failed to find...

7 years 前 | 1 个回答 | 0

1

个回答

提问


How to rename TABLE column by the combination of Character and number?
Dear all, pertaining of the above subject. I have the following code c=1 for threshold = 0.5:0.01:0.6 for i =1:2 T...

7 years 前 | 1 个回答 | 0

1

个回答

提问


What is the smart way to evaluate performance for KERNEL DENSITY ESTIMATION model
Hi Matlab Coder, In this example, I am using Kernel Density Estimation (i.e., KSDENSITY) to assign whether a particular subje...

7 years 前 | 0 个回答 | 1

0

个回答

已回答
How to efficiently make the for loop of different dot structure compact?
I think, this latest work-around work better than the original version.. However, I welcome any new suggestion. sixEarly = ...

7 years 前 | 0

| 已接受

已回答
Is there any function that similar like CELLFUN, for a TABLE Dataype
Dear all Turn out, using TABLE type is more flexible and easier. The above problem was solved using valid = find((at....

7 years 前 | 0

| 已接受

提问


How to access column or a row in Table
How I can access the row or column in Matlab Table. Interestingly, Matlab allow you to access the content by using the traditio...

7 years 前 | 1 个回答 | 1

1

个回答

加载更多