Simon Schiele
Followers: 0 Following: 0
統計
All
Feeds
質問
Matrix or vector operation faster?
I am solving a set of 3e5 differential equation using ode45. My code is written such that the equations are in a 3D matrix beca...
2年弱 前 | 1 件の回答 | 0
1
回答解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
3年以上 前
解決済み
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
3年以上 前
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
3年以上 前
解決済み
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
3年以上 前
解決済み
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
3年以上 前
解決済み
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
3年以上 前
質問
Find distance between foregrounds of two binary images
I have an image that looks like this: I found the colored lines using hough transform. I would now like to measure the width...
3年以上 前 | 1 件の回答 | 0
1
回答質問
Why is scalar division slower than piece-wise matrix division?
Hello, today I explained to my student that piece-wise division is much faster than a corresponding operation realized through ...
4年弱 前 | 0 件の回答 | 0