Question


why do I get this error? Indexing
Hi, so I got those two variables: Time_AIS1 is a duration variable that has many times. Times_msg_match has the lines from Ti...

3 years ago | 1 answer | 0

1

answer

Question


Change char to cell
Hi, I've got a variable that is a cell array with some chars inside and I want to split those chars to get all cells. I had this...

3 years ago | 2 answers | 0

2

answers

Question


Get the time of the messages
Hi, I've got a code that gives me the messages that repeat from two different strings. What I want is to get the time from the t...

3 years ago | 1 answer | 0

1

answer

Question


How could I graphic a matrix AxBxC
Hi, I've got a matrix with the following size: 22x414x24. The dimensions of it are (lat,lon,time) for each of cell I get a value...

3 years ago | 1 answer | 0

1

answer

Question


Make an Histogram with 24 bars
I have a variable of duration and I want to get an histogram where each bar (24 in total, for each hour) contains the total mess...

3 years ago | 2 answers | 0

2

answers

Question


Problems with function num2str
Hi, I've got a variable that is (22x414x744 double) and when I use num2str it the variable converts to (1x308016 double) could a...

3 years ago | 2 answers | 0

2

answers

Question


change variable data type from a NetCDF file
I've got a NetCDF file that has many different variables that are int16, int32 and single and I want to convert them to chars or...

3 years ago | 1 answer | 0

1

answer

Question


Plot of a Time Variable
Hi, so I have a variable that has the time of arrival of different messages from 00:00:00 to 23:59:59. What I want is to get a ...

3 years ago | 1 answer | 0

1

answer

Question


read Information from a web
Hi, I got this code to run all the information from a page but when I run it on matlab I get errors. The code is: "descripcio...

3 years ago | 1 answer | 0

1

answer

Question


Do a plot of the messages from 24 hours. Hour by Hour
Hey, so I got a variable of duration that has de time of each message that goes from 00:00:00 to 23:59:59 and I want to make a p...

3 years ago | 1 answer | 0

1

answer

Question


Compare 2 strings without using ismember or strcmp
Hi, I've got a code that gives me different outputs and I want to compare the messages inside them and the ones that are not in ...

3 years ago | 1 answer | 0

1

answer

Question


Create two new variables that have the messages missing
Hey I got a code that compares two strings and makes an output that has the messages that are repeteated in both strings, but I ...

3 years ago | 0 answers | 0

0

answers

Question


Problems with my loop
Hey I made a loop that compares a string I got with a number. P = size(t1,1); h = 0; for s = 1:1:P if strcmp(t1(s), '59...

3 years ago | 1 answer | 0

1

answer

Question


change the first digits when ends with 5959
Hey, I've got a doubt. I have a string of numbers that go from 0000 to 5959(First two are the minuts and the other two the secon...

3 years ago | 2 answers | 0

2

answers

Question


Create a different output for every document that is imported
Hey, I got a function that imports all the text documents from a file and creates a variable with all of them. What I wanted is ...

3 years ago | 1 answer | 0

1

answer

Question


separate strings that are inside a cell
Hey so I got a cell that is 12000x1 and inside this cell I got some strings that are 2x1 or 3x1. I want to delete this string bu...

3 years ago | 2 answers | 0

2

answers

Question


Convert String to numbers
Hey I've got a problem. I have to convert a String (200x1) that each line has four numbers: 0000 0001 0002 0003 ... ... ....

3 years ago | 1 answer | 1

1

answer

Question


why do I get this error?
Hey Thats the code I put and the error: time1 = AIS1(:,end-4:end) Index in position 2 is invalid. Array indices must be pos...

3 years ago | 1 answer | 0

1

answer

Question


Ismember and ways to implement it
Hey,I have two strings where every message from there has an arrival time. I have to compare the Messages from S1 with S2(string...

3 years ago | 0 answers | 0

0

answers

Question


Compare two strings with some restrictions
Hey, how are you? I have to compare to strings of n and m lines each other to see if they have the same messages. The messages ...

3 years ago | 2 answers | 0

2

answers

Question


Coger los ultimos 4 digitos de cada fila de un string y hacer un string nuevo
Buenas, la linea de cada string es de esta forma: !AIVDM,2,2,3,B,88888888880,2*240000 !AIVDM,1,1,,B,13GPhM0P01P9rGNGast>4...

3 years ago | 1 answer | 0

1

answer

Question


get the last for digits of the messages and create another array with them
i asked before how to get the last 4 digits of a certain message but what i want to do is to create a string with those numbers ...

3 years ago | 1 answer | 0

1

answer

Question


Get the last for digits as the time this message was sent
Hey, I have to get the time that each message was send. The message is like this:รง "!AIVDM,1,1,,A,13cut>1001P:3LRGa`P@jip400S<,...

3 years ago | 2 answers | 0

2

answers

Question


Delete the line that are repeated
Hello, I made a code that compares two strings and what I want to do is to delete from the old strings the lines that are in the...

3 years ago | 1 answer | 0

1

answer

Question


Create a code to compare two strings
Okay what I want to do is to compare two doc of txt one is: AIS1: "!AIVDM,2,1,3,B,54hG=R82FP2e`LQc:208E8<v1HuT4LE:2222220U1p...

3 years ago | 1 answer | 0

1

answer

Question


Compare 2 string documents
Hi, I want to compare 2 strings and see if there are messages that are the same. i want to compare de first line with all the ot...

3 years ago | 1 answer | 0

1

answer

Question


I coded this and it types me error
Hi, I was coding and when it puts me error M_conjunt = []; M_D_AIS1 = []; M_D_AIS2 = []; for i=1:1:N & j=1:1:P here is the...

3 years ago | 1 answer | 0

1

answer

Question


Delete the 4 last digits of a message
what I am tryng to do is to delete the las 4 digits of a message and I do not how to do it for a big amount of messages. the typ...

3 years ago | 1 answer | 0

1

answer