Community Profile

photo

Josué Ortega


University of Glasgow

Last seen: nästan 4 år ago Active since 2016

Statistics

  • Thankful Level 2
  • First Review
  • Thankful Level 1
  • First Answer

View badges

Content Feed

View by

Question


finding cycles in directed graph
I am creating a random adjacency matrix for a directed graph and I want to find the cycles. I am using the findcycles function t...

nästan 4 år ago | 0 answers | 0

0

answers

Question


Extending an order in a vector
I have a vector that provides me with a strict order of n number. If n is 5, for example, I type y=randperm(5) and I get...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Permutation of only x elements of a vector
Imagine a vector of natural numbers between 1 and 20, say x=randperm(20) I want to generate a vector identical to x, b...

mer än 6 år ago | 1 answer | 0

1

answer

Answered
How to generate random numbers correlated to a given dataset in matlab
This is a great answer @John D'Errico, but I have a further question. Suppose I have a vector 2 1 3 5 4 ... 10 of 10 numbers, f...

mer än 6 år ago | 0

Question


Generating random correlated numbers
I am creating x vectors of random numbers, each of them using for i=1:x A(i,:) = randperm(n) end So one of the o...

mer än 6 år ago | 0 answers | 0

0

answers

Question


Cleaning up a matrix
I have the following matrix 3 6 5 4 1 2 3 1 5 6 4 2 4 3 5 ...

nästan 7 år ago | 1 answer | 0

1

answer

Question


About the error "Error using symengine (line 59) Code generation failed due to an unexpected object of type 'RootOf'."
I have no idea what the previous error means. Error using symengine (line 59) Code generation failed due to an unexp...

ungefär 8 år ago | 0 answers | 0

0

answers