質問

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 ...

9ヶ月 前 | 1 件の回答 | 0

質問

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 ...

9ヶ月 前 | 1 件の回答 | 0

質問

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 ...

9ヶ月 前 | 1 件の回答 | 0

質問

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 ...

10ヶ月 前 | 2 件の回答 | 0

質問

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...

10ヶ月 前 | 1 件の回答 | 0

質問

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...

10ヶ月 前 | 1 件の回答 | 0

質問

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...

10ヶ月 前 | 0 件の回答 | 1

質問

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...

10ヶ月 前 | 1 件の回答 | 0

質問

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?

11ヶ月 前 | 1 件の回答 | 0

質問

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)...

11ヶ月 前 | 3 件の回答 | 0

質問

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...

11ヶ月 前 | 1 件の回答 | 0

質問

Create a matrix using rand function with a value range

Hi all, how can I create a 50x50 matrix using Random (rand) function while the condition is all the values of the matrix will be...

11ヶ月 前 | 1 件の回答 | 0