Simon Schiele
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
1년 초과 전
질문
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