Risposto

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

circa un anno fa | 0

Domanda

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

circa un anno fa | 1 risposta | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 2

| accettato

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 1

Risposto

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

oltre un anno fa | 0

| accettato

Risposto

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

oltre un anno fa | 0

| accettato

Domanda

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

oltre un anno fa | 2 risposte | 0

Risposto

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

oltre un anno fa | 0

| accettato

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

| accettato

Risposto

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

oltre un anno fa | 1

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

oltre un anno fa | 0

Risposto

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

circa 2 anni fa | 2

| accettato

Domanda

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

circa 2 anni fa | 1 risposta | 1

Risposto

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

circa 2 anni fa | 0

| accettato

Domanda

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

circa 2 anni fa | 2 risposte | 0

Risposto

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

circa 3 anni fa | 0

| accettato

Risposto

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

circa 3 anni fa | 0

Domanda

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

circa 3 anni fa | 1 risposta | 0