Feeds
질문
How to find the index of string column in a table?
How to get the column ids of a table with string column. LastName = {'Sanchez';'Johnson';'Li';'Diaz';'Brown'}; Age = [38;43;3...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Cannot read frames from .avi video file
Why cant I read the frames from the attached .avi video? I used the below line v = VideoReader('00jrXRMlZOY_0_10.avi'); and ...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Extract matching row from another cell array
I have attached 2 mat-files named all_files.mat and full_details.mat Each row in all_files.mat has a row as shown in image belo...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to compute the AUC (Area Under Curve)?
How to compute the AUC (Area under Curve) when using the function [tpr,fpr,thresholds] = roc(targets,outputs) plot(fpr,tpr)
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Move message box to specific location
Is it possible to display the message box in specified location, like legend location - north, south, east, west northeast ... ?...
1년 초과 전 | 답변 수: 2 | 1
2
답변질문
Add Laplacian noise to 1D data
White gaussian noise can be added using the below function out = awgn(in,snr) Is there a function that can add Laplacian noise...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
Insert new values in specific position after processing
I have a vector A of logical datatype size 5 x 1 A = [1 0 0 1 1 ]; Then I extracted the features where A = 1 ind1 = A(:,1) ==...
거의 2년 전 | 답변 수: 2 | 0
2
답변질문
select few values from a vector randomly
v1 = [3 4 7 14 15 18 23 25 28 31 34 36 37 38 39 40 42 44 46]; v2 = [1 2 5 6 8 9 10 11 12 13 16 17 19 20 21 22 24 26 27 29 ...
거의 2년 전 | 답변 수: 2 | 0
2
답변질문
Find minimum error function using gradient descent
Find the minimum error function using gradient descent for the function (x-1).^2 - 2 I found a code in matlabcentral, but I'm...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
Find total area of all circles
How can we calculate the total area covered by all the circles together using Monte Carlo method?
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
Find the percentage of area occupied by an object
From the below image, how can I find - what percentage of the yellow region does the total pink region occupy?
거의 2년 전 | 답변 수: 2 | 0
2
답변질문
Arrange clustered rows based on their label value
Suppose I have a matrix of size 100 x 42. Now I do kmeans clustering [idx,C] = kmeans(XTrain,8); Suppose the first 10 rows of...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
display string in table
row1 = {'a' 'b' 'c' 'd'}; row2 = {'m' 'n' 'o' 'p'}; varnames = {'Col1' 'Col2' 'Col3' 'Col4'}; rownames = {'Row1' 'Row2'}; ...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
concatenate 2 vectors as string
I have 2 vectors a = [87.46 85.38 85.99 85.49 88.56 85.67] b = [0.16 1.97 2.38 2.38 1.63 1.81] I wanted to save the values o...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Represent a vector as ± form
I have a vector v1 = [86 90 87 89 88]; I want to represent the vector v1 as 88±2 Please please me to represent any vector of...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
change legend name of ROC
How to change the legend name (class1, class2, ...) of ROC when using plotroc(Ts,Y)
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Change the numeric class label of confusion matrix to string
How to change the numeric class label (1, 2, 3... on the xlabel and ylabel) of a confusion matrix to string, when using confusi...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Absolute intensity of an image
I read a line saying "In some cases we may not want the filter to respond to the absolute intensity of an image" What is the di...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
save a mat-file in a specific folder
I have 2 matrices mat1 and mat2 I wanted to save these two variables in a specific folder in the name my_matrices When using t...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
keep few images and delete the rest in a folder
Suppose I have 10 images, and i have saved all the pathname and filename in a variable all_files I have a vector b = [ 2 4 6 ];...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Randomly shuffle folder of images and save it
I have 5 images named 1.jpg, 2.jpg ... 5.jpg I wanted to create a random number of 1 to 5 and write these images in the random ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Segment pink color spots from image
I = imread('input_image'); figure, imshow(I) How to extract the pink colour spots in the attached image and find how much area...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
Compute performance measures from neural network
How to compute Coefficient of Determination - R^2 Root Mean Squared Error - RMSE Mean Absolute Percentage Error - MAPE from...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Find all unique values and replace it with new values
I have a vector with values v = [0.23; 0.1; 0.33; 0.23 ; 0.33; 0.6; 0.6; 0.4]; I would like to find the unique values and repl...
2년 초과 전 | 답변 수: 3 | 0
3
답변질문
Display string line by line
str = {'cats', 'dogs', 'birds'}; how to display the above string in command window as cats dogs birds
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
count the number of unique elements
I have a matrix with 2 rows 23 columns M = [3,2,3,3,2,3,3,2,4,3,3,3,1,1,1,3,4,4,3,5,5,3,3;1,1,1,1,1,1,1,1,1,2,2,2,3,3,4,4,4,4,5...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
how to plot histogram
I wanted to plot the histogram of the attached data with number of bins = 42 When i use figure, imhist(HRGB,42) I get just 2...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
replace RGB values with new values
How to change the pixel values of a RGB image to % if pixel value is in the following range 0-64 to 0 65-128 to 1 129-192...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to do the computation using fuzzy logic
How to do the below computation using fuzzy logic?
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
replace matrix A with the values of another matrix B
Having a matrix A as attached, how to replace all those 1 in A with the values in matrix B, so that i get a new matrix as newA ...
2년 초과 전 | 답변 수: 2 | 0