photo

Enrico Gambini


Last seen: 6 mesi fa Attivo dal 2021

Followers: 0   Following: 0

Statistica

  • Thankful Level 4
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


Dimensions of T and Y in a customized regression layer
I did not understand what are the dimensions of T and Y in a customized regression layer (reference : https://it.mathworks.com/h...

11 mesi fa | 0 risposte | 0

0

risposte

Domanda


Cumulative sum between two trues in array according to positions stored in logical array
Hello! I would like to find a fast way to get cumulative sums of values of an array according to the starting and ending positi...

circa 2 anni fa | 1 risposta | 1

1

risposta

Risposto
From User Input to File Name
Try to use the function "strcat" and "string" str=string(answer); writematrix(A,strcat(str,'+TEST.csv'))

circa 2 anni fa | 0

Domanda


Find where certain sequence of true/falses is placed inside a logical array
Hello! Assume that I have the following logical array: x=[false;false;true;true;true;true;true;false;true;true;true]' I would...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Change sequence of consecutive trues to falses, in logical array
Hello guys! I would like to find a fast procedure to change from true to false the consecutive trues in a logical array excludi...

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


Count number of cells separating two trues in logical vector
Hello! I would like to find a fast procedure to count the number of cells separating two trues in a logical vector, and store t...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Get array of elements based on occurrences of another vector
Hi guys! Let's assume that you have 2 Nx1 arrays "y" and "x", is there a way to find all the elements of y corresponding to the...

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


Select columns of a table using matching column names
Hello everyone! I'm facing the following problem: I have a cell array containing strings, let's call it "v" On the other hand ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Area of a polygon in UTM coordinates
Hello! Anyone knows how to calculate the area inside a polygon whose coordinates are in the carthographic UTM32N system? I woul...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Is it possible to clip shapefiles in MATLAB?
Is there a way to clip a shapefile using polygons or other shapefiles in MATLAB like in GIS? Like this: https://pro.arcgis.com/...

oltre 2 anni fa | 0 risposte | 0

0

risposte

Risposto
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)

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

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

quasi 3 anni fa | 1

| accettato

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

quasi 3 anni fa | 1

| accettato

Risposto
How do I convert one row of values using a unit conversion?
PDATA_in_meters=PData/1000;

quasi 3 anni fa | 0

| accettato

Risposto
array operation in matlab
sum(Table.FF_liter_ho_>770)

quasi 3 anni fa | 0

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

quasi 3 anni fa | 1

Risposto
When i run my code it says Unrecognized function or variable A.
Define A=4 outside the function

quasi 3 anni fa | 0

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

quasi 3 anni fa | 0

| accettato

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

quasi 3 anni fa | 0

| accettato

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

quasi 3 anni fa | 1

| accettato

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 0 risposte | 0

0

risposte

Carica altro