![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/5682085_1522109790824_DEF.jpg)
MK96
Followers: 0 Following: 0
Statistica
12 Domande
0 Risposte
RANK
16.989
of 293.484
REPUTAZIONE
2
CONTRIBUTI
12 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
75.0%
VOTI RICEVUTI
2
RANK
of 148.733
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
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;
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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. ...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
Help with line graph plot
x = Timestep; y = LogPriceReturn; plot(x,y, '.'); hold on title('Log Price Return'); xlabel('Timestep'...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 3 risposte | 1
3
risposteDomanda
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...
quasi 8 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
quasi 8 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
quasi 8 anni fa | 1 risposta | 0
1
rispostaDomanda
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?...
quasi 8 anni fa | 2 risposte | 1
2
risposteDomanda
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...
quasi 8 anni fa | 1 risposta | 0