Community Profile

# Ana Carolina da Silva Pacheco

Last seen: 7 maanden ago Active since 2021

#### Content Feed

View by

Question

Problems using function fsolve
I'm trying to execute a fsolve function. First, I tried without using optimset and it went wrong because of maximum function eva...

8 maanden ago | 1 answer | 0

### 1

Question

Using fzero with two conditions
I have a fzero function in which I'm setting an equilibrium equation in terms of a position x, so I can find the value of x. The...

8 maanden ago | 1 answer | 0

### 1

Question

Plotting a limited number of elements
I have the code below: it=10; n=3; jvals=zeros(it,n); vetor_momentoj=zeros(it,n); aux=1; for i=1:it jvals(i,:)=linspa...

8 maanden ago | 1 answer | 0

### 1

Question

Plot multiple curves on a graph (involving a for loop within another)
I have the code below: I want to plot a jvals x vetor_momentoj curve. In this example, I would have 4 curves (it=4), each one...

8 maanden ago | 1 answer | 0

### 1

Question

Doubt involving a for loop within another
I have the code below that is returning the results shown: My problem is that I want the variable "jvals" to be a matrix just...

8 maanden ago | 1 answer | 0

### 1

Question

Storing variables in a for loop within another
I have the code below, and I want to store the variable "vetor_momentoj" returned from the for loop in terms of the indexes i an...

8 maanden ago | 1 answer | 0

### 1

Question

How do I declare a for loop with a given number of elements?
I have a for loop: for j=0:0.03 .. end I want j to run through 100 elements, in ascending order, between 0 and 0.03 (the...

8 maanden ago | 3 answers | 0

### 3

Question

How do I declare correlation between a random variable with beta distribution and a random variable with normal distribution?
I have a random variable with beta distribution declared: aux_alpha = 3; aux_beta = 813.21; LB = 41.368542; ...

9 maanden ago | 1 answer | 0