Statistiques
12 Questions
0 Réponses
RANG
17 776
of 300 779
RÉPUTATION
2
CONTRIBUTIONS
12 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
75.0%
VOTES REÇUS
2
RANG
of 21 084
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 170 997
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
Is there any way to change an array output to display a word or phrase?
I am simulating a random 4x1 array of 1s and -1s;
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Replace certain elements in an array
The following code generates a 100x1 array of random 1s and -1s: N = 100; States = 2*randi(2,N,1) - 3; Once generated...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Plot graphs at conclusion of a 'for loop'
I am currently producing the following 2 graphs inside a for loop: % LogPriceReturn Graph figure(1); % opens a...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Plotting more than one graph
I am attempting to produce 2 graphs (see below) however after running the code only one graph (Stock Price) is being displayed. ...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Help with matrix code
I am attempting to create the adjacency matrix of a star tree: https://en.wikipedia.org/wiki/Star_(graph_theory) I have the f...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Help with line graph plot
x = Timestep; y = LogPriceReturn; plot(x,y, '.'); hold on title('Log Price Return'); xlabel('Timestep'...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
How to repeat a for loop n times
end States Basically it outputs an array of size (N,1) consisting of 1s and -1s. How can I repeat this array for exampl...
environ 9 ans il y a | 3 réponses | 1
3
réponsesQuestion
Generating a random symmetric matrix
I am trying to generate a random symmetric matrix consisting of 1s and 0s (adjacency matrix) I have the following; A = r...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Need advice on my code for probability simulation
I am attempting to simulate this model below and output a transition matrix at the end. I am having trouble with the last...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Simulation of Weighted Coin Toss
Attempting to simulate 4 coin tosses for a weighted coin, e.g. probability of heads = 0.9772 and tails = 0.0228 I want to lis...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Normal Distribution Probability Finder
Trying to use normal distribution with mean = 0 and variance = 1 to find the prob(X>-2.125) How would I go about doing this?...
environ 9 ans il y a | 2 réponses | 1
2
réponsesQuestion
I need to generate a number randomly which is either -1 or 1
Trying to generate either -1 or 1 randomly. I have looked at; R = unifrnd(-1,1) however this generates a random numbe...
environ 9 ans il y a | 1 réponse | 0
