Community Profile

photo

Sowmya MR


Last seen: 4 years ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


finding peak to draw a smooth curve
Hi All, I have attached a plot (blue) in which i want to identify peaks (red circle) and draw a smooth curve with similar sha...

4 years ago | 1 answer | 0

1

answer

Question


Extracting decision split values from tree graph
Hi All, I am using treebagger for classification and plotted the tree graph. However, how do i extract/save values (766,4.35,...

5 years ago | 0 answers | 0

0

answers

Question


Integrating effect of gender on an outcome
Hi All, I am working on a project to study the influence of gender to predict cardiovascular outcome using baseline features....

5 years ago | 1 answer | 0

1

answer

Question


Issue with ROC curve
Hi All, I am trying to plot ROC curve for a LDA classifier and i get this plot (attached). It is wierd because it doesnot sta...

6 years ago | 0 answers | 0

0

answers

Question


Extracting specific time points from two different time vectors
Hi All, I have two time vectors: V1 = ['02-Feb-2018 08:23:42' '02-Feb-2018 08:24:42'.... '02-Feb-2018 09:10:42'] and V2...

6 years ago | 2 answers | 0

2

answers

Question


Forward selection with Random forest: error
I am trying to run below code for feature selection using Random forest in matlab but it gives me some error. Can someone help m...

6 years ago | 0 answers | 0

0

answers

Question


Horizontal bar plot with patch
Hi All, I have the following code. Now if i do plot(t,v1), will get a plot. But what i want is just one horizontal light colo...

6 years ago | 1 answer | 0

1

answer

Question


Bar graph comparison with custom x-axis and text
Hi All, I want to compare two vectors using bar graph with custom labels and a text on top of each bar. Can you please help m...

6 years ago | 1 answer | 0

1

answer

Question


Converting x y coordinates to a 2D matrix
Hi, I have two vectors: X and Y corresponding to an image. Now if i do plot(X,Y) i get a nice image plot but i want to conver...

6 years ago | 1 answer | 0

1

answer

Question


Rectangular grid using MATLAB
I have two cell arrays and each cell has a matrix x = (10X5). Each row in x is an array (between -1 and 1) with a mean "m" and s...

7 years ago | 1 answer | 0

1

answer

Question


Sinusoidal signal with variable instantaneous frequency
Below is a simple matlab code that generates a sinusoidal signal with user specified no of cycles. How do i change this such tha...

7 years ago | 2 answers | 0

2

answers

Question


Creating time series vectors of unequal duration
Hi, I have two vectors: a1=[ 2 4 6 8 10...20] with an increment of 2 and a2=[2 7 12 17....50] with an increment of 5. How do...

7 years ago | 2 answers | 0

2

answers

Question


Plotting horizontal stack bars in MATLAB
<</matlabcentral/answers/uploaded_files/75485/sample.jpg>> Hi all, I have three vectors and i want to plot them as horizon...

7 years ago | 0 answers | 0

0

answers

Question


Removing lower marker in error plot
Hi, I am trying to plot one sided error plot. Here is the sample code and output. I want to remove the markers circled in red...

7 years ago | 3 answers | 0

3

answers

Question


Comparing two sequence using mean and standard deviation
I have obtained means and standard deviations from six observations in two different groups. group1: mean1=[10 14 15 12 8 6...

7 years ago | 0 answers | 0

0

answers

Question


Recursive elimination of minimum number in a array
Hi All, I have an array consisting of 4 groups: A=[1 1 1 2 2 1 1 1 2 2 3 3 4]. Here "1" appears six times, "2" four times, "3...

7 years ago | 1 answer | 0

1

answer

Question


How to overlay plots one above the other?
Hi all, I have plotted arrays in a single subplot. However, i want to plot the red dotted curve which is inside the subplot t...

7 years ago | 1 answer | 0

1

answer

Question


Replacing an array with string using condition
Hi, I have an array X=[0 0.1 0.2 0.3..... 30]. Now i should replace all values between a range with a string. For example: X...

7 years ago | 1 answer | 0

1

answer

Question


Problem with interp1 function
I have some issues with interp1 function. I have a time vector t1=1/fs:1/fs:1/fs*1462805 where fs=250; Now i have the ou...

7 years ago | 1 answer | 0

1

answer

Question


Matching data and time with sample number
Hi all, i have a data for 24hrs with sampling frequency of fs= 500Hz (so t=1/fs:1/fs:1/fs*length(data)). Now i want to extract t...

7 years ago | 1 answer | 0

1

answer

Question


Obtaining bayesian error rate
I am new to machine learning and i have derived general expressions for bayes decision boundary and trying to plot the graph for...

7 years ago | 0 answers | 0

0

answers

Question


Importing matlab data in a loop using keywords from a cell
Hi, I have two cell arrays: a1={K01 mainEEG.mat,K02 mainEEG.mat,K03 mainEEG.mat,....,K10 mainEEG.mat} a2={K01 file1.mat...

7 years ago | 2 answers | 0

2

answers

Question


Replacing NaN with its succeeding values
I have an array which should replace the NaN with its succeeding value. For example: A=[NaN NaN 1 1 0 0 NaN 0 NaN 1 1] ...

7 years ago | 2 answers | 0

2

answers

Question


Splitting number from its units
HI, I have a cell array with following values: '1mcg/kg' '1mcg/kg' '1mcg/kg' '0.7mcg/kg/hr' '0.7mcg/kg/hr' ...

7 years ago | 3 answers | 0

3

answers

Question


Custom colored bar graph for a vector
Hi, I have a vector x=[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] and corresponding y=[1 2 3 1 1 1 2 3 3 1 3 3 3 2 3]. I should genera...

8 years ago | 2 answers | 0

2

answers

Question


Help with removing duplicate sub-elements....
Hi, I have a vector a1 and want to get an output a2. Basically, i should identify the starting index of numbers, keep the first ...

8 years ago | 1 answer | 0

1

answer