Community Profile

photo

Margarita Gladkikh


Simon Fraser University

11 total contributions since 2015

Contact

Margarita Gladkikh's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


normalize a histogram in pdf mode
I am trying to normalize my histograms so that my gaussian curves can fit over them (right now, the histograms and gaussians are...

más de 3 años ago | 1 answer | 0

1

answer

Question


Bisection method- code stops after one iteration
Hi, my code doesn't seem to continue beyond the first iteration of the bisection method in my loop. I also am not getting the ri...

más de 4 años ago | 1 answer | 0

1

answer

Question


Finding product product of elements in a vector
I am using a vector whose length I want to vary. So supposing the vector is x = [f(1), f(2), f(3), ..... f(n)]. How do I find th...

más de 4 años ago | 1 answer | 0

1

answer

Question


Plotting approximation of pi- storing outputs of loops
Hi. I am trying to approximate pi. Right now my plot isn't working. This is my code so far. The diagram gives me an option wheth...

más de 4 años ago | 0 answers | 0

0

answers

Question


How to plot Gaussian in purple
Hi. I am plotting several Gaussians. I want to make the black line be purple instead, with a linewidth of 1.5. But I don't know ...

más de 4 años ago | 1 answer | 0

1

answer

Question


Projectile Motion 2D plot without drag
Hi all. I am plotting a 2D plot of projectile motion, where speed and height are on the y axis and time is on the x axis. My spe...

más de 4 años ago | 1 answer | 0

1

answer

Question


Polynomial interpolation with chebyshev nodes
I can't get my interpolation to work. I am getting asymtotes in my plots and I don't know why. How can I fix this code so that I...

más de 4 años ago | 0 answers | 0

0

answers

Question


tic toc in subfunctions
I have the following code. I need to use tic toc to find out how much faster one loop runs versus the other. So far I have done ...

más de 4 años ago | 1 answer | 0

1

answer

Question


searching for a number in a list
Hi, I made a code below which I need to use to find a value in a list L. Supposing I have the following list L = [1 3 5 9 2 4 0 ...

más de 4 años ago | 2 answers | 0

2

answers

Question


Making polynomial in matlab causes infinite loop
I am trying to make a polynomial function for several different coefficients. The problem is, something is wrong with my loop an...

más de 4 años ago | 1 answer | 0

1

answer

Question


Calling subfunctions from a loop
Hi, I am trying to get matlab to run certain loops based on conditions. In my primary function, my_factorial, I want to have the...

más de 4 años ago | 1 answer | 0

1

answer