buhmatlab
Followers: 0 Following: 0
Feeds
提问
Sum up values in a certain range with logical indexing (better performance)
Hi, Since my script runs very slowly, I try to optimize the code and wonder if anybody is able help? The (old and slow) cod...
4 years 前 | 0 个回答 | 0
0
个回答提问
Cumulative sum of last n entries of column vectors
Hi, I've got the following 2 column vectors: "Name" (300x1 Categorical) and "Amount" (300x1 Double). I wanna calculate the c...
4 years 前 | 1 个回答 | 1
1
个回答提问
How to find streaks in a categorical vector?
Hi, is there a way to identify streaks in a categorical vector? Considering number vectors, I've found out that it might be use...
4 years 前 | 2 个回答 | 0
2
个回答已回答
Calculate with same amount on every date and adjust when date changes (for-loop)
if i>1 & Date(i)>Date(i-1) Amount(i) = sum(Result(find(Date==Date(i-1)))) + Amount(i-1); elseif i>1 & Date(i)...
Calculate with same amount on every date and adjust when date changes (for-loop)
if i>1 & Date(i)>Date(i-1) Amount(i) = sum(Result(find(Date==Date(i-1)))) + Amount(i-1); elseif i>1 & Date(i)...
4 years 前 | 0
| 已接受
提问
Calculate with same amount on every date and adjust when date changes (for-loop)
Hi, I’ve got three column vectors (300x1) Date, VariousA, Amount (Amout has only one Starting value in row 1) and I wanna per...
4 years 前 | 2 个回答 | 0
2
个回答提问
How to "keep" a variable for some rows within a for loop
Hi, My problem is the following: I've created a for-loop in which I calculate SOMETHING(i) for each row (see code below). Bu...
4 years 前 | 1 个回答 | 0
1
个回答提问
Find maximum of all rows without a for-loop?
Hi, I am relatively new to Matlab and only used to work with for-loops which I've already used succesfully to find the maximum ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Show values depending on values in another column above the actual row
Hi, I'm struggling with the following problem: I’ve got a table containing a few column vectors: Day, Name, Result My goal ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Sum up values depending on entries in another column
Hi, With the friendly helpf of this forum I was able to count specific values but now there is a last hurdle: I've got a col...
4 years 前 | 1 个回答 | 0
1
个回答提问
Count the number of occurrences in a string vector
Hi, I'm relatively new to Matlab because I only used Excel so far. For my project I used the COUNTIFS function and I'm wonder...
4 years 前 | 1 个回答 | 0
1
个回答提问
Create a cumulative sum under certain conditions
Hello together, I am pretty new to MATLAB since I has been forced to switch. Accordingly I have not many skills that would help ...
5 years 前 | 2 个回答 | 0