Danny
Followers: 0 Following: 0
Statistics
5 Questions
0 Answers
RANK
40,281
of 295,486
REPUTATION
1
CONTRIBUTIONS
5 Questions
0 Answers
ANSWER ACCEPTANCE
20.0%
VOTES RECEIVED
1
RANK
of 20,236
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,950
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Given a couple of vectors with priorities, is there a fast built-in function to find the index of the largest value?
Consider that there exist three 10-dimensional vectors p1, p2, and p3, and the priority is given in order p1>p2>p3. I want to f...
4 years ago | 1 answer | 0
1
answerQuestion
Is it possible to extract the values with a vector of indices for each row without using the for statement from the matrix?
Consider the following example. A = [1, 2, 3; 4, 5, 6; 7, 8, 9; 10, 11, 12]; % reference matrix b = [2; 1; 1; 3]; % index fo...
4 years ago | 2 answers | 0
2
answersQuestion
Is there a function where the inputs are indices and the outputs are vectors with a value of 1 of that index and the remainder?
I am finding a function (named func, here). If I type the following code y = func(10, [3, 5, 1]); then I get the following re...
5 years ago | 1 answer | 0
1
answerQuestion
Find a function that sorts each ith element in the vector by the largest of the preceding elements.
Let x = [x_1, x_2, x_3, ..., x_N]. I want to make a vector y whose ith element is given as y_i = max {x_k | k<=i}. For example...
5 years ago | 1 answer | 0
1
answerQuestion
How can I use equations in x- and y-labels with common fonts.
I like a defult font type that can be shown when I command plot(blah-blah-blah); xlabel('ABCD'); However, when I want to in...
5 years ago | 0 answers | 1