Community Profile

photo

MG


Last seen: 2 years ago Active since 2015

Statistics

  • Thankful Level 3

View badges

Content Feed

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

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

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

8 years ago | 1 answer | 0

1

answer

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

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

8 years ago | 1 answer | 0

1

answer

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

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

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

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

8 years ago | 1 answer | 0

1

answer