Community Profile

# Matlaber

Last seen: oltre un anno ago Active since 2019

#### 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...

circa 2 anni ago | 2 answers | 0

### 2

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...

circa 2 anni ago | 1 answer | 0

### 1

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...

oltre 2 anni ago | 0 answers | 0

### 0

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".

oltre 2 anni ago | 2 answers | 1

### 2

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...

oltre 2 anni ago | 1 answer | 0

### 1

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...

oltre 2 anni ago | 1 answer | 0

### 1

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. ...

circa 3 anni ago | 2 answers | 0

### 2

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...

circa 3 anni ago | 0 answers | 0

### 0

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...

circa 3 anni ago | 1 answer | 0

### 1

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...

circa 3 anni ago | 1 answer | 0

### 1

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 ...

circa 3 anni ago | 1 answer | 0

### 1

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 ...

circa 3 anni ago | 0 answers | 0

### 0

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...

oltre 3 anni ago | 2 answers | 0

### 2

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

oltre 3 anni 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 ...

oltre 3 anni ago | 3 answers | 0

### 3

PCA LDA
Why deleted?

oltre 3 anni 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 ...

oltre 3 anni ago | 0 answers | 0

### 0

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 ...

oltre 3 anni ago | 0 answers | 0

### 0

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...

oltre 3 anni ago | 1

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. ...

oltre 3 anni 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. ...

oltre 3 anni ago | 1 answer | 0

### 1

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 ...

oltre 3 anni 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...

oltre 3 anni ago | 2 answers | 0

### 2

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 = ...

oltre 3 anni ago | 2 answers | 0

### 2

Question

oltre 3 anni ago | 0 answers | 0

### 0

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) / (...

oltre 3 anni ago | 1 answer | 0

### 1

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...

oltre 3 anni ago | 1 answer | 0

### 1

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...

oltre 3 anni ago | 0 answers | 0

### 0

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...

oltre 3 anni ago | 4 answers | 0