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年 前 | 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年 前 | 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年 前 | 1 件の回答 | 0