Community Profile # Enrico Gambini

Last seen: Today 2021 이후 활성

#### Statistics

• • • • 배지보기

#### Content Feed

보기 기준

답변 있음
How to select same numbers with tolerance?
Hi, try this: X = [ 2.5,3.65,0,0.25,0.35,0.035,0.00025,1,4.65,5.85]; Y=X(X<1)

약 1달 전 | 0

답변 있음
How Normalize each column to itself mean value
Hi, you can try this: T=readtable('Cartel3.xlsx'); n_years=10; %In your file you've got 10 years, you can obvioysly change it ...

약 1달 전 | 0

| 수락됨

질문

Add NaN values in a timetable based on missing datetimes
Hi guys. Let's say that I have timetable with n rows containing hourly data starting from date "t1" and ending on date "t2", th...

약 1달 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
How to define a variable as a condition of other variables
Hi. Generally matlab "doesn't like" for loops like other programming languages. That's because in most of the cases there is th...

2달 전 | 0

답변 있음
ERROR : Unrecognized function or variable , Index exceeds the number of array elements
Hi, try this. er1 = 2.55; er2 = 1; eta_1 = 377; eta_2 = 377/sqrt(er1); sin_theta_b = 1/sqrt(1+er1/er2); cos_theta_t = sqrt...

2달 전 | 0

답변 있음
In the following in program, I want print only the resultant Matrix D which its sum is zero also their corresponding combinations Matrix E a using any conditional statements
If I got it right... if ((sum(any(D,'all'))<=1) & (sum(D,'all'))==0 &(sum(any(E,'all'))<=1) & (sum(E,'all'))==0) fprintf("Matr...

3달 전 | 0

질문

Estimate p-values of fitted parameters using armax from sysid toolbox
Hello! I'm looking to find a way to find the p-value of the estimated parameters of an armax model fitted using the "armax" com...

3달 전 | 답변 수: 1 | 0

### 1

답변

질문

Best matlab package for time series modelling
Hello! Until now, I have always analyzed the time series in a theoretical way. Now I finally have to move on to practice. In pa...

3달 전 | 답변 수: 1 | 0

### 1

답변

질문

Combine date and duration into single datetime column
Hello! I have a vector containing the data in a datetime format (MM/dd/uuuu)and the vector containing the hours of the days in ...

3달 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
Create Correlogram plot with given data
If you don't have any input file (such as a txt or a csv) from where you can import data directly into matlab, I guess you need ...

3달 전 | 1

| 수락됨

답변 있음
How can I put the values of the y-axis in a vector and find the maximum?
You mean this? H_sorted=sort(H); %sort vector "H" in ascending order idx=find(H==H_sorted(end-1)); %find the index of the seco...

3달 전 | 1

| 수락됨

답변 있음
How do I convert one row of values using a unit conversion?
PDATA_in_meters=PData/1000;

3달 전 | 0

| 수락됨

답변 있음
array operation in matlab
sum(Table.FF_liter_ho_>770)

3달 전 | 0

답변 있음
How to add a new column in a table and then write on a file only some columns?
Hello Giuseppe. To create your column of indexes you can do the following: idx=[1:height(Tab_ast_str)]; then Tab_ast_str.in...

3달 전 | 1

답변 있음
When i run my code it says Unrecognized function or variable A.
Define A=4 outside the function

3달 전 | 0

답변 있음
how to filter variables after Pearson correlation test
I didn' fully get your question. If you want to delete the variable columns from the matrix you can do the following: %I will...

3달 전 | 0

| 수락됨

답변 있음
Matching two columns from an imported table to find the corresponding value in the 5th column.
One method to extract what you want could be temp=input("Insert temperature: \n"); %here you insert the parameters in the c...

4달 전 | 0

| 수락됨

답변 있음
How can I improve the readability of a text file produced with writetable?
Hi, I think that the export worked well. If you want to increase the readability of the textfile i think you should set less dec...

4달 전 | 1

| 수락됨

질문

Delete rows from a table using a condition on datetimes
Hello! I'm working with a table T having two separate datetime columns containing dates ('M\d\yyyy'): let' say the first column...

4달 전 | 답변 수: 1 | 0

### 1

답변

질문

Extract values from tables with different number of columns using a specified condition
Hello everyone! I'm trying to do something that I am not able to do actually, and I hope it is possible. I need to ask for some...

4달 전 | 답변 수: 0 | 0

### 0

답변

질문

Delete m consecutive rows every n rows
Hello! I'm looking to find a way to delete certain rows in a big table that i'm working with. I would like to find a smart way t...

4달 전 | 답변 수: 2 | 0

### 2

답변

질문

Include two separated existing matlab figures into a new subplot
Hello everyone! I know that this topic was already discussed a lot (see https://it.mathworks.com/matlabcentral/answers/101806-h...

9달 전 | 답변 수: 2 | 0

### 2

답변

질문

Boxplot using cell array where each cell has different size
Hello to everyone! I would like to obtain a single graph with boxplots using a 1x40 cell array, each cell has a different numbe...

12달 전 | 답변 수: 2 | 0

### 2

답변

질문

Assign same linewidth to a grouped barplot
Hello everyone, I'm trying to assign the same linewidth to a grouped barplot, it says that i have to use the comma separated li...

약 1년 전 | 답변 수: 2 | 0

### 2

답변

질문

Plot a distorted x axis without changing shape
Hello to everybody, I'm trying to find a way to plot a distorted x axis without changing the shape of the plot. For example. ...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

Create a monthly datetime sequence
Hello everyone, Can someone please me explain why this code a=datetime(1981,1,1); b=datetime(2019,31,1); ...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

Count if a vector has at list one element greater than zero
Hello everyone, I'm looking for a way to update a count if a vector has at least one element greater than zero. I mean for exa...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

chart customization with interactive fitting
Hi guys, just a curiosity. Is it possible to customize the linear trend line obtained with the command "basic fitting" which is...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

How to transform a cell array, which contains dates but not in the datetime format, into datetime array
Hello to everybody. The cell array contains values like this one : x={'1991-01-09T02:00:00+00:00' ; '1991-01-09T03:00:00+00:0...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

How to split datetime vector into a numerical Matrix?
Hello to everybody, my goal is to get a matrix of numbers starting from a timeseries which was created by the command "datetime"...

1년 이상 전 | 답변 수: 1 | 0

답변