Community Profile

photo

Ana Carolina da Silva Pacheco


Last seen: 4 months ago Active since 2021

Statistics

  • Thankful Level 2

View badges

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...

5 months ago | 1 answer | 0

1

answer

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...

5 months ago | 1 answer | 0

1

answer

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...

5 months ago | 1 answer | 0

1

answer

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...

5 months ago | 1 answer | 0

1

answer

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...

5 months ago | 1 answer | 0

1

answer

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...

5 months ago | 1 answer | 0

1

answer

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...

5 months ago | 3 answers | 0

3

answers

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; ...

6 months ago | 1 answer | 0

1

answer

Question


How do I generate a random number with beta distribution?
I have a variable with the PDF: PDF = C . ((f - LB)/D)^alpha . ((UB - f)/D)^beta Where: C = 37337 alpha = 3 beta = 813,21 ...

6 months ago | 1 answer | 0

1

answer