Community Profile Ashfaq Ahmed

Last seen: Today Active since 2021

I am a first-year Ph.D. student at Brown University. My research interest lies in sea-ice dynamics, and transport phenomena.

Programming Languages:
Python, MATLAB
Spoken Languages:
Bengali, English, Hindi, Spanish

Statistics

• • Content Feed

View by

Question

How to generate random coordinates and store the values?
Hi all, Suppose, I want to randomly create 5 different coordinates such as p(x,y) = (1,3), (-5,2), (8,1), (-4,4), and (6,3). A...

9 days ago | 1 answer | 0

1

Question

Algorithm to calculate trajectories from a vector field
Dear altruists, Suppose, I have a two-dimensional vector field, i.e., for each point (x, y) I have a vector (u, v), whereas u a...

12 days ago | 1 answer | 0

1

Question

How can I show the scale of my arrow in a quiver plot?
Hi! If I want to display the scale of my arrows on a quiver plot I got from my u and v velocities, how can I set the scale bar ...

12 days ago | 1 answer | 0

1

Question

How can I use the "diff" function instead of a for loop?
Dear altruists, How can I get the similar result from this few lines of code using the MATLAB built in "diff" function instead ...

19 days ago | 1 answer | 0

1

Question

How to write the code that takes input as fahrenheit and display Celsius?
Hi all, I want to write down the code that takes an input and covert it to the desired answer. for example, f = input('Enter ...

21 days ago | 1 answer | 0

1

Question

How to find out standard deviation of a matrix when there is a lot of NaN values?
Hi altruists, I have a 71*294 matrix that contains a lot of NaN values. In fact, the first 7 rows, the last 7 rows, and row ...

1 month ago | 2 answers | 0

2

Question

Quiver plot - how to use in this case?
Hi guys, I have my latitude matrix (71x259), longitude matrix (71x259), and the geostrophic current matrices (u, and v componen...

2 months ago | 1 answer | 0

1

Question

How can I make this simple code a for loop?
Hi, how can I represent this simple codes in a for loop? Also, can you please suggest me when I see a similar pattern in my code...

2 months ago | 1 answer | 0

1

Question

How can I plot my velocity data in a latitude longitude grid?
Hi altruists, I have these three matrices: lat (71x294), lon (71x294), and velocity(71x294). I want to plot the velocity vecto...

2 months ago | 0 answers | 0

0

Question

How can I insert NaN value in a matrix?
Suppose I have this matrix a = [1:6; 7:12; 13:18; 19:24] I want to fill the values for all the even number with NaN. How can I...

2 months ago | 1 answer | 0

1

Question

How can I increase the size of the color bar values?
Hi guys, can you kindly tell me how can I increase the values of these numbers showed in my color bar?

2 months ago | 1 answer | 0

1

Question

How to find pythagorean triangle's hypotenuse in a matrix?
Hey guys, I have two 4x4 matrices a and b. I want a third c matrix of 4x4 size where all the values will be c = sqrt(a.^2+b.^2)...

3 months ago | 3 answers | 0

3

Question

How to create a customized meshgrid?
Hi all, Can anyone kindly tell me how can I create a "71x9866 double" size meshgrid where my x axis will have the range of 34...

3 months ago | 1 answer | 0