Community Profile

# Romeo Akara

6 total contributions since 2019

View details...

Contributions in
View by

Question

I am trying to simulate a multiplicative cascade process. At the first iteration i call four random numbers (between 0 and 1); t...

2 months ago | 1 answer | 0

### 1

Question

Solving equation with four unknowns
clear all aa=1.5; m=(0.5)^(aa); syms x y w z S=vpasolve([x^2+y^2+z^2+w^2==m, x+y+z+w==1],[x y z w],[0 1],'Random',true) ...

2 months ago | 1 answer | 0

### 1

Question

Plotting multiple separate lines
x1=[0 2 3] y1=[11 19 12] x2=[24 25 22] y2=[36 38 39] for i=1:length(x1) A = [x1 y1]; B = [x2 y2]; plot(A,B) end axis([0 ...

2 months ago | 1 answer | 0

### 1

Question

Conditional statement with vectors
I have two vectors A (100 numbers) and B (500 numbers). For each element of A, I want to find the index (j) of element B such th...

2 months ago | 1 answer | 0

### 1

Question

Saving all output of for loop
for i=1:1500 X1=J(i)-sqrt((D(i)^2)/((sqrt(A(i))+1))) Y1=I(i)-A(i)*(J(i)-X1) X2=J(i)+sqrt((D(i)^2)/((sqrt(A(i))+1))) ...

2 months ago | 2 answers | 0