Community Profile

# Andrea Sbaragli

Last seen: 4 månader ago Active since 2020

#### Content Feed

View by

Question

If statement does not work
I have a problem in populating correctly a table. Starting from A(mx4) and B(nx4), where m>n, I have to create C(mx4). Accordin...

### 0

Question

Duration precision in subtracting two datetimes
In subtracting two datetimes I lost what comes after the seconds. In particular A(1,1) = '05-Mar-2021 13:01:53.917194495' B(1...

### 1

Question

Assign a table coloumn a particular data type
For other reasons I cannot initialize my table as A=table but I must do A= zeros(height(B), 8) and then through array2table I co...

### 1

Question

unexpected use of 00:00:01 in a scalar context matlab
if abs(Int12{i,6}- F1{j,1}) <= '00:00:01' why is it not corret?

### 1

Question

datetime conversion lose nanoseconds
I have converted an array from epoch time in nanoseconds to datetime using the following: t(i,1)= datetime(B(i,1),'ConvertFrom...

### 1

Question

Loop index is changed on a for loop
Dear all, I've been trying to debug this issue but I m not able to solve it. After having calculated the Euclidean distance be...

### 1

Question

Operator '-' is not supported for operands of type 'table' even with {}
I have to perform this operation in which all entities, namely d12, T1 and T2 are in table format: d12{i,1} = norm(T1{i,3:end} ...

### 0

Question

Datetime coloumn in a matrix of double
I start from this matrix A = mx 4 where 1- epoch time in nanosec 2- number double 3- number double 4- number double Th...

### 1

Question

How to assign a row matrix to another row matrix
This is my function: function [T1,T2, T3] = dispatch(A) T1 = zeros(size(A)); T2 = zeros(size(A)); T3 = zeros(size(A)); i=1;...

### 1

Question

Calculating euclidean distances in a matrix
I have to a matrix n x 2 in which each row represent a point in a Cartesian space in X and Y. The distance I have to calculate i...