Community Profile

# flashpode

Last seen: 7 months ago Active since 2021

All

#### Content Feed

View by

Question

How can I make bigger the names plotted in the X axis from a variable?
so I want to mae the names of the Variable T bigger so that I can read it clearly. How can I do it? Here is my code: T = ["j...

7 months ago | 1 answer | 0

### 1

Question

how can I change the color of the bar 2,4,6?
Hi, so I got the code that makes me the figure bar, what I want is to change the color of the bar in position 2,4 and 6. Here is...

7 months ago | 1 answer | 0

### 1

Question

How can I plot these two variable in bars?
I have these two variables one of values of each month(C) and the other with the names of the corresponding values(T) I mean the...

7 months ago | 1 answer | 0

### 1

Question

Getting max and min in data from 1 hour every 5 mins
Hi, I've got a code that gets me the lat and lon of each message of an hour, gets me the distance of each point and saves the ma...

7 months ago | 0 answers | 0

### 0

Question

how can I change those things to get what I want?
Hi, so I got a plot that has in the Xlabel the datanum of all the month and in the Ylabel the distance in each time. My plot is ...

9 months ago | 0 answers | 0

### 0

Question

How can I change my plot size?
Hi, I've got a problem, I want to plot some data but the size of my plot it is a square, what I would like is to have a rectangl...

9 months ago | 1 answer | 0

### 1

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 months ago

Question

How can I correct this error?
Hi, so as I run my code and it works but gets an error. figure(1) for k = 1:24:nfiles nexttile vend = 1:24; ...

10 months ago | 2 answers | 0

### 2

Question

How can I solve this problem?
I got a loop that reads the messages and gets the information of these messages, while looping it stops due to a common error. H...

10 months ago | 1 answer | 0

### 1

Question

Got a problem when saving the variables
Hi, so my problem is the followed, I save every variable that is going to change with the loop into another variable using: All...

10 months ago | 1 answer | 0

### 1

Question

Is there any way to code this on a different way?
I want to get the max value of a variable and the number #100(max). I got this code: [b,index] = maxk(lat1,100); b_new =...

10 months ago | 1 answer | 0

### 1

Question

How can I calculate the distance between two points? [Haversine]
Hi, so I got the variable lat and lon(each one 500x1) that gives me the position of me every time. Then I got a position. What I...

10 months ago | 1 answer | 0

### 1

Question

How to convert a cell array that contains inside durations to a duration array
Hi, so thats my problem I got a cell array that contain inside a group of duration and I want to split this group of duration t...

10 months ago | 1 answer | 0

### 1

Question

How can I create a function of my code
Hi, I got a code that I want to convert to a a function so I do not write for each variable the whole code. I do not really unde...

10 months ago | 1 answer | 0

### 1

Question

Get the position of the max and min values of a variables
Hi, so I want the position of the maximun values of a variable my code is: pos = 1:numel(lat1); b = maxk(lat1,5); % ...

10 months ago | 1 answer | 0

### 1

Question

Do a loop with a restriction in a duration array
Hi I've got a code I want to run it within a time. When the messages are inside a ran of time I want to run my code. First I w...

10 months ago | 0 answers | 0

### 0

Question

How can I loop this
I want to create a loop for when for all the messages that are in the variable of duration are within one rank that is going fro...

10 months ago | 0 answers | 0

### 0

Question

how can I get the distance between two points in geoscatter
Hello, so I got a variable of latitud and another of longitud and a latitud and langitud from a point in the map. What I want is...

10 months ago | 0 answers | 0

### 0

Question

how to save some variables created in a loop
Hi so I got a loop that every time it goes creates some variables.Ex: When n = 1 creates this variables ''x'', ''y'' and ''z'',...

11 months ago | 1 answer | 0

### 1

Question

i have a loop that generates an image everytime how can I save the figures?
Hi, my code is the following but its saving each image with the same name I want the name to change, How could I do it? AllFi...

11 months ago | 1 answer | 0

### 1

Question

how can I change the code to save every figure my code does?
hi I've got the followed code and I want to get a diferend name for each figure my code does. How can i do it? AllFigH = allchi...

11 months ago | 2 answers | 0

### 2

Question

how can I do a code that compares each document one by one and get all the information I want?
Hi, I've got a code that compares two different text documents and then makes me a figure with geoscatter. Then I get the number...

11 months ago | 1 answer | 0

### 1

Question

how can I plot a degree variable, a scalar and a date
Hi, so I got three variables: one gives me the direcction of the wind every half an hour, another one gives me the value of the ...

12 months ago | 1 answer | 0

### 1

Question

Why I do not get the graphics as I want. It is not a code problem
Hi, so my problem is that I do get the graphics in blank. I post the code and the data I am working with to help you understand ...

1 year ago | 1 answer | 0

### 1

Question

how can I delete from a string a couple of lines I have indexed
Hi so I've got a string and I've got a variable that contains the position of different messages from the string. How could I de...

1 year ago | 2 answers | 0

### 2

Question

find numbers that exceed the 50
Hi, I've got a variable that has many numbers and I wanted to find all the numbers that exceed the number 50 (with the position ...

1 year ago | 1 answer | 0

### 1

Question

get the position of each number
Hi, I've got a variable that gives me all the messages that have the value I asked for. What I want is to get a variable that...

1 year ago | 2 answers | 0

### 2

Question

Index exceeds the number of array elements (1). How can I correct this error?
Hi I've got this code that gives me the messages from a variable that are from a mmsi that I want Msg_mmsi_selected = []; for ...

1 year ago | 0 answers | 0

### 0

Question

how to convert 1x2 double into two 1x1
Hi I was coding when I had this error: Time_msg_match = string(Time_msg_match); Error using string Conversion from cell faile...

1 year ago | 2 answers | 0