
Ashfaq Ahmed
I am a first-year Ph.D. student at Brown University. My research interest lies in sea-ice dynamics, and transport phenomena.
Python, MATLAB
Spoken Languages:
Bengali, English, Hindi, Spanish
Content Feed
질문
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 ...
4일 전 | 답변 수: 1 | 0
1
답변질문
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....
4일 전 | 답변 수: 1 | 0
1
답변질문
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...
7일 전 | 답변 수: 2 | 0
2
답변질문
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-...
약 2달 전 | 답변 수: 2 | 0
2
답변질문
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 - ...
약 2달 전 | 답변 수: 2 | 0
2
답변질문
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...
약 2달 전 | 답변 수: 1 | 0
1
답변질문
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...
약 2달 전 | 답변 수: 1 | 0
1
답변질문
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'...
약 2달 전 | 답변 수: 2 | 0
2
답변질문
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 ...
2달 전 | 답변 수: 2 | 0
2
답변질문
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...
2달 전 | 답변 수: 1 | 0
1
답변질문
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...
4달 전 | 답변 수: 1 | 0
1
답변질문
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...
5달 전 | 답변 수: 2 | 0
2
답변질문
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...
5달 전 | 답변 수: 2 | 0
2
답변질문
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...
5달 전 | 답변 수: 1 | 0
1
답변질문
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...
5달 전 | 답변 수: 1 | 0
1
답변질문
How to delete the columns that has NaN values?
Hi! I have this 5x5 matrix. Of them, only column 2 and 3 does not contain any NaN values. How can I write down a code that will...
6달 전 | 답변 수: 1 | 0
1
답변질문
How can I make these few lines a function?
Hi all! When I am plotting any graph (even for the individual subplot), I add these few lines everytime. set(gca,'color',[1 1...
6달 전 | 답변 수: 3 | 0
3
답변질문
How to calculate the rotation of this egg?
Hi all! Suppose I have this egg in figure1, standing still. But when it rotates a bit in figure 2, how can I calculate the rota...
6달 전 | 답변 수: 3 | 0
3
답변질문
Two easy questions (But I am confused)
Hi! Say I have a matrix S that is of 100x100 size. Now, I want to create an array just by taking the diagonal values of S. So...
6달 전 | 답변 수: 2 | 0
2
답변질문
How to manipulate xtick labels?
Hi! I am plotting a simple data set, say - plot(1:21,1:21); Now, obviously the x axis will show 1 to 21. But I want to chang...
7달 전 | 답변 수: 1 | 0
1
답변질문
How to concatenate in a for loop to make a 3D matrix?
Dear altruists, I have this Saved_Temp{} that has 10x1 cells. Each of the cell is 1130x800 double. I want to create a 3D cell t...
7달 전 | 답변 수: 1 | 0
1
답변질문
How to plot a geographical surface temperature heat map?
Dear altruists, I have this Temp_Data.mat file (attached) that contains Latitude (917x345), Longitude (917x345), and sea surfac...
7달 전 | 답변 수: 1 | 0
1
답변질문
Table to Array conversion using a for loop
Hi! Is there a way I can do this operation within a for loop? load 'temps-2021-11-16.mat' temps_2021_11_16 = table2array(data...
7달 전 | 답변 수: 2 | 0
2
답변질문
How to use str2num function to extract a specific year from the array?
Hi! I have a column matrix consists of string arrays. It's a huge time matrix and I am just showing a part of it. It contains d...
7달 전 | 답변 수: 1 | 0
1
답변질문
Plot legend in a bar graph
Hi all, Can anyone please tell me how can I plot the average of the bar (values of Y) in the bar graph? It can be a legend, or...
7달 전 | 답변 수: 2 | 0
2
답변질문
How can I find out the indices of the largest 10 values within the matrix?
Hey guys, I am facing a problem and I am sensing the solution should be relatively easy. Suppose I have a 100x100 matrix wit...
9달 전 | 답변 수: 1 | 0
1
답변질문
How can I locate a vortex center?
Hi all! Someone in the MATLAB community once asked similar kind of question but unfortuinately, it was never answered. So, I a...
9달 전 | 답변 수: 1 | 0
1
답변질문
How to run this code in a for loop?
Hi all! I have a code that requires to go to the folder, calls mat files and then plot images. I want to run everything in a f...
10달 전 | 답변 수: 1 | 0
1
답변질문
How to show bathymetry in a polar stereographic plot (ArcticMappingTools)?
Hi all! I am doing a particle relelase experiment in the arctic region and I have produced this trajectory paths of three parti...
10달 전 | 답변 수: 0 | 0
0
답변How to save figure frames as gif file?
Thanks! I actually solved it by using this script - for i = 1:Leng figure(1); filename = 'Day02_Path.gif'; set...
10달 전 | 0