Answered

How to know the gain value used in this controller when I know the input and output of the pid controller

Mathematically speaking gain is the output divided by the input of a system. The next question is if this produces a linear or n...

How to know the gain value used in this controller when I know the input and output of the pid controller

Mathematically speaking gain is the output divided by the input of a system. The next question is if this produces a linear or n...

12 meses ago | 0

Question

Plot - Remove axis ticks but keep grid lines

Hi, I am producing a graph to view open source polysomnography data. I have several arrays in one plot window with an offset be...

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

Answered

B-spline fit of airfoil coordinates

Hi Marco, Thats a really cool problem! Looking at it I would assume that the resoloution between x = 0 and x = 0.01 is not gr...

B-spline fit of airfoil coordinates

Hi Marco, Thats a really cool problem! Looking at it I would assume that the resoloution between x = 0 and x = 0.01 is not gr...

alrededor de 1 año ago | 0

Answered

How to export live script to latex beamer document class?

Hi @Barbab, One soloution maybe to use mcode if you are not already doing so. I would also suggest taking a look at implementin...

How to export live script to latex beamer document class?

Hi @Barbab, One soloution maybe to use mcode if you are not already doing so. I would also suggest taking a look at implementin...

alrededor de 1 año ago | 0

Answered

How to let Matlab show large trends in Nyquist Plot?

Hi Zizhuo, You are correct, considering a system L(s); where L(s) has two poles at the origin, will give a 360 degree colocwis...

How to let Matlab show large trends in Nyquist Plot?

Hi Zizhuo, You are correct, considering a system L(s); where L(s) has two poles at the origin, will give a 360 degree colocwis...

alrededor de 1 año ago | 0

Answered

Problem with readtable MATLAB R2020a+

Hi Paolo, I am hoping I have an answer for you however I am working in MATLAB 2020b, it is post 2020a so I think the changes s...

Problem with readtable MATLAB R2020a+

Hi Paolo, I am hoping I have an answer for you however I am working in MATLAB 2020b, it is post 2020a so I think the changes s...

alrededor de 1 año ago | 0

Answered

Create a grouped boxplot

Hi NA, From the documentation here (See section boxplotGroup(__,'primaryLabels',c) ) the number of primary lables should matc...

Create a grouped boxplot

Hi NA, From the documentation here (See section boxplotGroup(__,'primaryLabels',c) ) the number of primary lables should matc...

alrededor de 1 año ago | 2

| accepted

Answered

How to normalize data?

Hi Seval, Normalising data has several diffrent meanings statistically speaking. I am guessing given the mention of the Y colum...

How to normalize data?

Hi Seval, Normalising data has several diffrent meanings statistically speaking. I am guessing given the mention of the Y colum...

más de 1 año ago | 0

Answered

FIR Filter delay for Realtime Signal Processing

Hi Ghazian, Your question is more about sampling theroy than matlab. Using an FIR filter will intorduce group delay to the sig...

FIR Filter delay for Realtime Signal Processing

Hi Ghazian, Your question is more about sampling theroy than matlab. Using an FIR filter will intorduce group delay to the sig...

más de 1 año ago | 0

Answered

how to plot all points

Hi Vedang, Before considering my answer below you should know that there are more efficent methids to do this. However as you ...

how to plot all points

Hi Vedang, Before considering my answer below you should know that there are more efficent methids to do this. However as you ...

más de 1 año ago | 1

Answered

How i will draw circle around specific point in 3D model

Hi Radoslaw, There are a couple of similar questions that answer your question. Here is a link as to how to plot circles. I a...

How i will draw circle around specific point in 3D model

Hi Radoslaw, There are a couple of similar questions that answer your question. Here is a link as to how to plot circles. I a...

más de 1 año ago | 0

| accepted

Answered

How to upsample a picture with initial values?

Hi Benat, MATLAB as an inbuilt function to do this for you. Let me know if you need any other help. Christopher

How to upsample a picture with initial values?

Hi Benat, MATLAB as an inbuilt function to do this for you. Let me know if you need any other help. Christopher

más de 1 año ago | 0

| accepted

Question

Remove rows from table identified in a second string array

Hi, I have a table of results, called Results which is 505x11. The first column is Results.Filename and gives an asociated str...

más de 1 año ago | 2 answers | 0

Answered

Store values from while loop into an array

Hi Jacob, I am not sure what u and v are suppsosed to look like, if you could give some data that would be great! I have been ab...

Store values from while loop into an array

Hi Jacob, I am not sure what u and v are suppsosed to look like, if you could give some data that would be great! I have been ab...

más de 1 año ago | 0

| accepted

Answered

Index in position 1 exceeds array bounds

In your code in line 22 you have resb=resids(bidx(bb,:),:); where as with any index resb=resids(A,B). MATLAB is trying to tell...

Index in position 1 exceeds array bounds

In your code in line 22 you have resb=resids(bidx(bb,:),:); where as with any index resb=resids(A,B). MATLAB is trying to tell...

más de 1 año ago | 0

Answered

pull_up_down in Matlab

Hi Sapir, In MATLAB there is a "configurePin" command which can enable the pull up resistor. Here is the link to the documentat...

pull_up_down in Matlab

Hi Sapir, In MATLAB there is a "configurePin" command which can enable the pull up resistor. Here is the link to the documentat...

más de 1 año ago | 0

Answered

Can I use Matlab/Simulink to replace our current CFD?

Hi there, MATLAB is a great and versatile programe that can acheive many things, CFD being one of them. I am currently working...

Can I use Matlab/Simulink to replace our current CFD?

Hi there, MATLAB is a great and versatile programe that can acheive many things, CFD being one of them. I am currently working...

más de 1 año ago | 0

Answered

how can I show all of my data in the legend for each curve?

lgd is outside the for loop with no buffer array to hold the data. This is why only the last value is being displayed. While thi...

how can I show all of my data in the legend for each curve?

lgd is outside the for loop with no buffer array to hold the data. This is why only the last value is being displayed. While thi...

más de 1 año ago | 0

Answered

Detect the error position in a vector and correct it (Matlab)

Hi Afluo, You can try something like the below to assess where the diffrences between the arrays are; after this just cycle to ...

Detect the error position in a vector and correct it (Matlab)

Hi Afluo, You can try something like the below to assess where the diffrences between the arrays are; after this just cycle to ...

más de 1 año ago | 0

| accepted

Answered

Writing an audio file

Hi Grant, It's been a while from I have used .wav files for ECG recorings. I think you are on the right track with your first a...

Writing an audio file

Hi Grant, It's been a while from I have used .wav files for ECG recorings. I think you are on the right track with your first a...

más de 1 año ago | 1

Answered

MATLAB APP: Create a "log" box

Hi William, There are a few options to do this, if you are using the matlab app designer take a look at uitab and uipanel. Th...

MATLAB APP: Create a "log" box

Hi William, There are a few options to do this, if you are using the matlab app designer take a look at uitab and uipanel. Th...

más de 1 año ago | 0

Answered

Sampling of a Sine wave.

Hi Ketan, I have ran the code an everything looks corrrect to me. If I understand the question correctly you are asking more ...

Sampling of a Sine wave.

Hi Ketan, I have ran the code an everything looks corrrect to me. If I understand the question correctly you are asking more ...

más de 1 año ago | 0

Answered

Scatte plot to contour plot xyz data.

Hi, Have you tried Contour3 for three dimentional contour plots? You should be able to plot a secondary graph from this. c...

Scatte plot to contour plot xyz data.

Hi, Have you tried Contour3 for three dimentional contour plots? You should be able to plot a secondary graph from this. c...

más de 1 año ago | 0

Answered

Spline Error - The first input must contain unique values

For anyone that finds this, I was able to determine my own issue. In the array of 300000 data points two concurrent data points ...

Spline Error - The first input must contain unique values

For anyone that finds this, I was able to determine my own issue. In the array of 300000 data points two concurrent data points ...

más de 1 año ago | 2

| accepted

Question

Spline Error - The first input must contain unique values

Hi, I am proccessing data from the physionet Staff III database. I take the data, apply a bandpass filter and then apply cubic ...

más de 1 año ago | 1 answer | 1

Answered

Error Using trainNetwork (line 170). Too many input arguments.

"Too many input arguments" is a sign that the function expects fewer input arguments. In this case your input arguments appear t...

Error Using trainNetwork (line 170). Too many input arguments.

"Too many input arguments" is a sign that the function expects fewer input arguments. In this case your input arguments appear t...

más de 1 año ago | 0

| accepted

Question

Renaming a struct in v2020b

Hi, I am currently writting code to detect peaks in a signal. The data is pre-recorded in a series of dynamically named .mat...

casi 2 años ago | 2 answers | 0

Answered

Tables - Data extraction and processing with ifelse

For anyone that stubbles across this, MATLAB has an inbuilt function called rowfun which can apply functions to rows of a table....

Tables - Data extraction and processing with ifelse

For anyone that stubbles across this, MATLAB has an inbuilt function called rowfun which can apply functions to rows of a table....

casi 3 años ago | 0

| accepted

Answered

How to do simple Excel functions using Matlab instead

Hi Kevin, You should be able to access elements on the array using a proccess known as indexing. % define array x as 3x3 ...

How to do simple Excel functions using Matlab instead

Hi Kevin, You should be able to access elements on the array using a proccess known as indexing. % define array x as 3x3 ...

casi 3 años ago | 0

Question

Tables - Data extraction and processing with ifelse

Where I am at; I have imported a csv file as a table. Each row of the table holds 14 peices of information (stored as variabl...

casi 3 años ago | 1 answer | 0