Question

axis names in svm plot

I am using svm for anomaly detection. I am using 2 dimensional data. svmStruct = svmtrain(trf3,labeln1,'kernel_function','...

oltre 2 anni ago | 0 answers | 0

Question

how to use QP=Quadratic Programming in svm

I am using svm for anomaly detection as follow svmStruct = svmtrain(tr,label,'kernel_function','rbf','ShowPlot',true); o...

oltre 2 anni ago | 0 answers | 0

Question

svm not showing figure for 3 dimensional data.

I want to svm with 3 dimensional data i.e. n*3, but figure not showing for 3 dimensional data. I am using svmStruct = s...

oltre 2 anni ago | 0 answers | 0

Question

change dimension of data

I have data in ab with n rows and 4 columns. I made it 1*n by ab1=ab' then ab2=ab1(:).' I want it back...

oltre 2 anni ago | 1 answer | 0

Question

find same elements between two sequences

a=[2 5 4 6 6 7 9 8 4 5 61 2 56 41] b=[1 9 7 3 2 4 5 1 6 4 78 1 12 56 14 27 46 1 3 2 4] how to find same elements in ...

oltre 2 anni ago | 1 answer | 0

Question

give number to sequence

I have sequence a=[17 56 42 12 12 99 102 45 76 76 41 99 12 45 56 17 76 86 125 160 36] I want to do that give numbering ...

oltre 2 anni ago | 1 answer | 0

Question

output for different changing variables

I have 4 variables a,b,c,d. a can vary 1,2 i.e. a=1,2, b=1,2,3, c=1,2,3,4, d=1,2,3,4,5 so by varying each element I want to make...

oltre 2 anni ago | 1 answer | 0

Question

assign symbol for given range of data

I have sequences a=[1 5 3 5 5 2 12 7 14 2 11 11 5 7 7 3]; b=[0 0.1 3 0.8 0.8 5 5 7 7 0.56 0.56 1 1 0 3 4]. a has mi...

oltre 2 anni ago | 1 answer | 0

Question

calculate transition probability matrix for many dimension data.

I attached n*4 data. so here each row has 4 values and each row considered as one state. I want to calculate transition probabil...

oltre 2 anni ago | 0 answers | 0

Question

how to index value falling particular interval

I have sequence of numbers [2 2 5 11 15 11 0 7 8 21 27 21 0 1 22 24 24 3 3 13 1 11 13] with min 0 and max 27 value. I want to d...

oltre 2 anni ago | 1 answer | 0

Question

take out numbers from string

I attached file which contains as this '10.0.7.4:22->10.0.8.5:26856' '10.0.13.4:22->10.0.12.5:9997' '10.0.9.4:22->10...

oltre 2 anni ago | 2 answers | 0

Question

place value for elements which not in transition probability matrix.

I have sequence qq= [1 3 3 4 1 5 4 6 3] and I am making transition probability matrix p as follows 1 ...

oltre 2 anni ago | 1 answer | 0

Question

how to accumulate vector

I have following code for i=1:1000 a=[b(i) c(i) d(i) e(i)] end I want accumulate value of a for every i I am addi...

oltre 2 anni ago | 1 answer | 0

Question

how to make table of ip address numbers

I attached ip address data file. I want to make table of ip address numbers. i.e. suppose I have ip addresses 10.0.12.4 ...

oltre 2 anni ago | 2 answers | 0

Question

separate data from file

I attached data file. data is in format of source _ip:source_port->destination_ip:destination_port I want to take out ...

circa 3 anni ago | 2 answers | 0

Question

how to generate subsequent combination of elements

I have sequence t=1 3 4 4 6 2 2 2 2 1 4. I want to generate combination of two subsequent elements. i.e. 13 34 44 46 62 22 22 ...

circa 3 anni ago | 1 answer | 0

Question

matlab showing 0 for small number values product

I have matrix with elements have small values. I am taking product of some elements of matrix for 100 times. If I take matrix 1...

circa 3 anni ago | 1 answer | 0

Question

replace 1 in place of NaN

I have matrix with some elements NaN. I want to replace them with 1. how to do it

circa 3 anni ago | 1 answer | 0

Question

take sum log of probability matrix

I have data m= 1 8 3 3 3 8 4 1 8 4 1 6 7 10 10 8 6 8 6 8 6 3 3 8 3 9......2000 with sequence length 2000. with th...

circa 3 anni ago | 1 answer | 0

Question

how to take all non zero elements product of matrix

how to do.

circa 3 anni ago | 1 answer | 0

Question

how to mix data randomly

I have two data set A and B with both length equal to 40. I want to mix data A and B randomly. how to do it.

circa 3 anni ago | 1 answer | 0

Question

count values in interval

I have 7901 g values I accumulated it in t as t(n+1)=g. I want to count no. of values which are greater than 60. I want to count...

circa 3 anni ago | 2 answers | 0

Question

count number values exceeds given threshold in moving window

I have time vs values plot. time =100. I want to select time 1 to 4 & then count how many values are exceeding 20. i.e. for time...

circa 3 anni ago | 1 answer | 0

Question

how to count no. of elements exceeding given threshold value in selected moving window

I have time vs values plot. time length=100, I want count number of values exceeds 20 for time window 4, then skipping 1st & add...

circa 3 anni ago | 3 answers | 0

Question

Maximum recursion limit of 500 reached error in matlab.

I have downloaded matlab file "Random vectors with fixed sum" I got following error Maximum recursion limit of 500 reached...

circa 3 anni ago | 2 answers | 0

Question

how to generate probability matrix with close probability value.

I want to generate probability matrix with all value of particular row (for each row) should be close to each other. i.e. ...

circa 3 anni ago | 1 answer | 0

Question

how to increment no. upto particular iteration so that total sum will be desired value.

Suppose I have a number 0.16. I have to take small no. and want to increment it by constant or non constant value up to particul...

circa 3 anni ago | 0 answers | 0

Question

how to generate non integer random number in between two numbers.

I want to generate single random number which is in between 0.86 and 1. how to generate it.

circa 3 anni ago | 1 answer | 0

Question

how to generate first order markov chain number sequence in matlab

Suppose I have a sequence x=[5 6 1 6 4 1 2 4 6 6 1 6 6 3 5 1 3 6 5 6 4 1 6 6 5 5 5 3 4 2]. I want to generate markov chain from ...

circa 3 anni ago | 0 answers | 0

Question

what is “rando” command in matlab

If I enter matrix in a matlab and run command rando(a) then it shows sometimes 3 and sometimes 2. if I change element values of ...

circa 3 anni ago | 3 answers | 0