Feeds
문제를 풀었습니다
Sum of adjacent elements in a vector
Given a vector v, return a vector s containting the sum of every two adjacent elements in the vector. Every element s(i) cont...
거의 4년 전
문제를 풀었습니다
Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...
거의 4년 전
문제를 풀었습니다
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 ...
거의 6년 전
문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
거의 6년 전
문제를 풀었습니다
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:...
거의 6년 전
질문
Matlab calsses - PreGet listener on structures
Hello, I am using some basic Matlab classes with some dynamic defined properties. I added listeners 'PreGet' and 'PostGet' f...
대략 10년 전 | 답변 수: 1 | 0
1
답변답변 있음
Matlab matrix operations without loops
Both answers from Azzi Abdelmaleka and Jan Simon are very helpful, regarding the matter of runtime optimization. Though, I am s...
Matlab matrix operations without loops
Both answers from Azzi Abdelmaleka and Jan Simon are very helpful, regarding the matter of runtime optimization. Though, I am s...
거의 13년 전 | 0
질문
Matlab matrix operations without loops
Hello. I have an issue with a code performing some array operations. It is getting to slow, because I am using loops. I am tryin...
거의 13년 전 | 답변 수: 6 | 0



