Frage

Sinusoidal curve from discrete dataset
Hi! I have a few discrete data-set and when I plot them it looks like this - Can anyone please tell me how can I fit these ...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I separate individual years from a timetable?
Hi! I have one table that contains 764 rows with different year's data point from 1984 to 2022. For example, row 1 to 8 are for...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I run these codes in a for loop?
Hi! I understand that the variables should not be named dynamically. So, I would like to have an idea on how can I run these kin...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

Rebuilding a 3D matrix
Hi everyone! I am doing an operation where I will have to follow these algorithm steps. Can anyone please let me know how to pe...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How to extract the months from a datetime table?
Hi! I have a series of dates like this - I want to create 12 variables naming - January, February, March, April,.., Decembe...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

Question related to pcolor bar and its position
Hi! Can anyone please tell me a) how can I use one long pcolorbar at the right side of this figure instead of using 4 differen...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I find index from a 3D matrix?
Hi, I have a matrix M that is of this size: M = 376x268x764 double. Here, 376x268 are latitude longitude grid cells and 764 is...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I find out the index of the points here?
HI! I have this interesting indexing question. I have a cloud data set (attached, Cloud.mat). Plotting the X and Y, I get th...

mehr als ein Jahr vor | 3 Antworten | 0

### 3

Antworten

Frage

How can I make a function from this few lines of codes?
Hi all, can anyone please tell me how can I make function of this calculation so that I can perform the same operation for any g...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I write this in my figure title?
Hi! Can anyone please tell me how can I write this in my figure (either in title or in y axis)? Thank you!!

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How to find a list of dates from a timetable?
Hi! I have a long timetable (Date_Captured.mat, attched) that contains 28805 different dates. ...

mehr als ein Jahr vor | 3 Antworten | 0

### 3

Antworten

Frage

How can I make an array using for loop?
Hi all! I am trying to prepare a big array by adding all the cells from Time (18x1 cell array) like this - TimeSeries = [Time...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

How can I extract a specific time for a "datetime" table?
Dear coders, I have a simple question but I am confused how to code it. I have this datetime table (attached with the question...

mehr als ein Jahr vor | 3 Antworten | 0

### 3

Antworten

Frage

How can I plot this date time graph?
Hi! I have this Years.mat timetable where I have three columns - a) date, b) hours of the date, and c) tide height. Can anyone...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

How can I extract a specific row from a table?
Hi all! Suppose I have a table with two column (i.e., Date and Temperature) like this - Please note that every date has mul...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I delete a specific row from a timetable?
Hi! Thank you for all the supports you guys always provide here. I have a question. I attached a timetable. It's a very simple ...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

Important plotting question (defining the markers in a for loop)
Hi all, If I want to run this code in a for loop and plot everything with different markers, how can I do that? x = -2*pi:0....

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I plot this X and Y data?
Hi coders! I have a very simple data (Data is attached as a .mat file) set but I want to know the most efficient way of plottin...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

How to convert datetime to day of the year when there are more than one year?
Hi! If I have an array of datetime like this - '2003-10-14' '2003-11-07' '2003-11-15' '2003-11-23' '2004-01-10' '2004-04-...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

Need suggestion -- which interpolation method should I use?
Hi all, I am working with a relatively sparse matrix with a lot of NaN values. As you can see from the attached picture - ...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

Differentiation question - How to find out H vs. dH/dt from a list of height and datetime series?
Hi! I have a fundamental differentiation problem. I need to find out the derivative of the tide height (H) with repsect to time...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How to convert this string to a datetime?
Hi! Unfortunately, MATLAB is not allowing me to convert this series of strings of date to a datetime series. Can anyone please h...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I delete some specific rows from a matrix?
I have an easy question but somehow I am not being able to solve it. Suppose I have a datetime matrix, A where '2003-06-24'...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

How can we insert a row matrix without altering the rest of the values?
Hi! Say, I have this matrix - A = 1 2 3 4 5 6 7 8 9 10 11 12 13 ...

mehr als ein Jahr vor | 2 Antworten | 0

### 2

Antworten

Frage

Easy question - How can I save this variable within the for loop?
Hi! I have one easy question, but weridly I am not being to solve the problem. Say I have this very simple code - for n = 1:1...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

How to code for summation?
Hi all, Can anyone please tell me how can I do the coding to complete this sum? Also, how can I write down the code that ad...

fast 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Simple question: How to set the complex part = 0 in an array?
Hi! I have this 1x5 matrix whicihcontains complex numbers - 2+0i; 3+3i; 5+0i; 8-4i; 6+9i; How can I set "only" the complex num...

fast 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I find the peak values of a curve?
Hi all! So I have these curves which have several peaks. Can anyone please tell me how can I detect the peaks and put a value t...

fast 2 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

How can I divide/merge my subplots?
Hi! I want to plot this figure - As you can see, the first plot is taking the 3 columns. And the last 6 plots are taking...

fast 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I write multiple number (digit) in my title?
Hi! So, I have this mode array and I want to write this title - mode = [1,2,3,4,5]; title(sprintf('Mode: %d',mode(1,1))); Bu...

fast 2 Jahre vor | 1 Antwort | 0

Antwort