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 días ago | 1 answer | 0

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

alrededor de 2 meses ago | 1 answer | 0

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

8 meses ago | 2 answers | 0

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

9 meses ago | 0 answers | 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...

11 meses ago | 1 answer | 0

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

11 meses ago | 1 answer | 0

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

11 meses ago | 1 answer | 0

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

11 meses ago | 0 answers | 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...

11 meses ago | 2 answers | 0

Answered

what does "X = X./max(max(X))" means?>

https://slideplayer.com/slide/14985720/ source

what does "X = X./max(max(X))" means?>

https://slideplayer.com/slide/14985720/ source

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

11 meses ago | 3 answers | 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 ...

12 meses ago | 0 answers | 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 ...

12 meses ago | 0 answers | 0

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

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

12 meses ago | 0

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

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

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

12 meses ago | 1 answer | 0

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

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

alrededor de 1 año 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...

alrededor de 1 año ago | 1 answer | 0

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

alrededor de 1 año ago | 2 answers | 0

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

alrededor de 1 año ago | 0 answers | 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) / (...

alrededor de 1 año ago | 1 answer | 0

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

alrededor de 1 año ago | 1 answer | 0

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

alrededor de 1 año ago | 0 answers | 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...

alrededor de 1 año ago | 3 answers | 0

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

alrededor de 1 año ago | 1 answer | 0

Answered

how to use helperGaitPlot?

It still not working even with Matlab version 2018b. It said: Undefined function 'helperGaitPlot' for input arguments of typ...

how to use helperGaitPlot?

It still not working even with Matlab version 2018b. It said: Undefined function 'helperGaitPlot' for input arguments of typ...

alrededor de 1 año ago | 0

Question

how to use helperGaitPlot?

How to use helperGaitPlot helperGaitPlot('als1m'); xlim([0 30]) when i run, it said: >> helperGaitPlot('als1m'); xlim([0 30...

alrededor de 1 año ago | 3 answers | 0

Question

CUSUM and CUMSUM, cusum not found

Hi, I am using Matlab version 2015b. I can use "cumsum", but not "cusum". Is it because of different version? cusum link: c...

alrededor de 1 año ago | 2 answers | 0

Question

Error in using Load

I am trying to follow "Detecting Outbreaks and Significant Changes in Signals". Link as follow: Link load WestAfricanEbolaOu...

alrededor de 1 año ago | 1 answer | 0