Community Profile

# Matlaber

Last seen: 2 years ago Active since 2019

View badges

#### Content Feed

View by

Question

What is the maths behind findpeaks function on matlab?
How can I use maths to explain this matlab function? https://ch.mathworks.com/help/signal/ref/findpeaks.html findpeaks fun...

3 years ago | 2 answers | 0

### 2

answers

Question

How to make only some part of a y axis label italic? (in boxplot?)
How to make italic in a boxplot lable? Is working ylabel('{\it text123} texting (%)') But this not working: boxplot(y,'L...

3 years ago | 1 answer | 0

### 1

answer

Question

How to plot a boxplot with same label?
I am trying to have a boxplot with similar label, but matlab boxplot does not take it. boxplot(randn(4),{'a','b','a','b'}) T...

3 years ago | 0 answers | 0

### 0

answers

Question

How to label a plot in Matlab with combine label?
It is hard to explaine here. For example "peaks" is located second line and combine with "a" and "b".

3 years ago | 2 answers | 1

### 2

answers

Question

How to change the colour or text or delete some text of the default graph in findpeaks function?
How to change the colour or text or delete some text of the default graph in findpeaks function? In this code below from matla...

3 years ago | 1 answer | 0

### 1

answer

Question

How to plot 2 different colour using RBG setting
plot(x,y,'color',[0,0.5,0], x,y2, 'color',[0.5,0,0]) It said Error using plot Vectors must be the same length. If I am usin...

3 years ago | 1 answer | 0

### 1

answer

Question

How to plot 3D line graph?
How to plot a 3D graph below. I had tried "bar3", but it shown all the line up as bar graph. I want the line shown below. ...

4 years ago | 2 answers | 0

### 2

answers

Question

Amplitude Modulation Synthesis function in matlab?
For Amplitude Modulation, it suppose to have carrier amplitude and modulated amplitude. however, the matlab built in function...

4 years ago | 0 answers | 0

### 0

answers

Question

How to get Matlab read my char file in excel?
I have a list of char in my excel file. I want to import to my matlab like below: I had tried below y=csvread('test10...

4 years ago | 1 answer | 0

### 1

answer

Question

How to get Matlab read my char file in excel?
Let say I have a csv file and have a list of char inside. I want to read it as: x=dlmread('test10042019_char.csv'); y...

4 years ago | 1 answer | 0

### 1

answer

Question

how to create a char
I am trying to follow: https://uk.mathworks.com/help/stats/boxplot.html One of the code, said that: load carsmall How can ...

4 years ago | 1 answer | 0

### 1

answer

Question

How to turn a discrete to a continuous using t
I want to turn a discrete value to a continous using a t as time. (I also not sure what i asking is correct) Basically, I ...

4 years ago | 0 answers | 0

### 0

answers

Question

What does i mean as example: 1.2428 - 0.0003i
What is the meaning of the result i get when i run matlab code: 1.2428 - 0.0003i 1.2320 - 0.0003i 1.2250 - 0.0002i...

4 years ago | 2 answers | 0

### 2

answers

Answered
what does "X = X./max(max(X))" means?>
https://slideplayer.com/slide/14985720/ source

4 years ago | 0

Question

what does "X = X./max(max(X))" means?>
>> X=[1,2,3,4] X = 1 2 3 4 >> X = X./max(max(X)); >> X X = 0.2500 0.5000 0.7500 ...

4 years ago | 3 answers | 0

### 3

answers

Answered
PCA LDA
Why deleted?

4 years ago | 0

Question

LDA for 2 classes only, why have 3 classes?
Hi, I am trying to use the original code Link here LDA link I found strange is the dataset have 3 classes, but the plotted ...

4 years ago | 0 answers | 0

### 0

answers

Question

What is the meaning of vec2ind "Convert vectors to indices"?
vec2ind vec = [0 0 1 0; 1 0 0 0; 0 1 0 0]' vec = 0 1 0 0 0 1 1 0 0 0 0 ...

4 years ago | 0 answers | 0

### 0

answers

Answered
Reducing dimensionality of features with PCA
Is there any setting input arguement of coeff = pca(X) coeff = pca(X,Name,Value) [coeff,score,latent] = pca(___) [coeff,sco...

4 years ago | 1

Answered
PCA to reduce dimensionality of feature vector
I just want to have a simple PCA to reduce my dimensionality of let say 400 * 5000 to 400 * 4 meaning reduce from 5000 to 4. ...

4 years ago | 0

Question

PCA in Matlab reduce dimensionality
I just want to have a simple PCA to reduce my dimensionality of let say 400 * 5000 to 400 * 4 meaning reduce from 5000 to 4. ...

4 years ago | 1 answer | 0

### 1

answer

Answered
How "hold on" function works?
Is "hold on" function only work in plotting? csvwrite('1test.csv',a, 0,1); hold on; csvwrite('1test.csv',b, 0,2); It seemed ...

4 years ago | 0

Question

How to write multiple input into one csv file
Let say I have a=1; b=2; c=3; d=4; I want to put this output value in matlab to a csv file in the order below. I can use...

4 years ago | 2 answers | 0

### 2

answers

Question

How to read only 1 value in row 2, column 1 ?
I just want to read one value in my csv file. For example: filename = 'csvlist.dat'; M = csvread(filename) result is M = ...

4 years ago | 2 answers | 0

### 2

answers

Question

Why "File not found"?
I am trying to follow the example of csvread here csvread filename = 'csvlist.dat'; M = csvread(filename) I have csvlist.dat...

4 years ago | 0 answers | 0

### 0

answers

Question

How to find a slope of signal if we do not know the value of x1, x2, y1, y2
How can we find the slope of a signal if we do not know the value of x1, x2, y1, y2 which we cannot use Slope = (y2 - y1) / (...

4 years ago | 1 answer | 0

### 1

answer

Question

How to plot a specific value in Y-axis?
I want to plot a specific range of Y-axis and not the entire Y-axis. For example: load sunspot.dat year = sunspot(:,1); av...

4 years ago | 1 answer | 0

### 1

answer

Question

How to find the value of "Border" in findpeaks built-in function?
Example using this link findpeaks function example link x = linspace(0,1,1000); Pos = [1 2 3 5 7 8]/10; Hgt = [4 4 2 2...

4 years ago | 0 answers | 0

### 0

answers

Question

How to cut out specific segment from findpeaks function?
Hi All, I am trying to figure out how to cut out the specific segment of the signal where I draw the border using findpeaks fun...

4 years ago | 4 answers | 0

### 4

answers

Question

What is the meaning of "width" and "prominences" in findpeaks
It said that: [pks,locs,w,p] = findpeaks(data) additionally returns the widths of the peaks as the vector w and the prominences...

4 years ago | 1 answer | 0

answer