Feeds
已回答
How do i create two multi-dimensional arrays: a 10 x 10 x 10 numerical array (3-D) anda 5 x 5 x 5 x 5 numerical array (4-D) where each value in each array corresponds to the multiplication of indices?
I think something like this would work: my_array = zeros(10, 10, 10) for i = 1:10 for j = 1:10 for k = 1:10 my_...
How do i create two multi-dimensional arrays: a 10 x 10 x 10 numerical array (3-D) anda 5 x 5 x 5 x 5 numerical array (4-D) where each value in each array corresponds to the multiplication of indices?
I think something like this would work: my_array = zeros(10, 10, 10) for i = 1:10 for j = 1:10 for k = 1:10 my_...
9 years 前 | 0
已回答
Need help writing an if statement involving vectors. Total mental block :/
I think you could use the ismember() function to do what you need. It'll return a vector of ones and zeros, so you would just ha...
Need help writing an if statement involving vectors. Total mental block :/
I think you could use the ismember() function to do what you need. It'll return a vector of ones and zeros, so you would just ha...
9 years 前 | 0
| 已接受
提问
find time at the midpoint of data
I have data for which I need to find the time at which the midpoint has been reached. I have a vector of flow rates and a vector...
9 years 前 | 1 个回答 | 0