Question


Remove the discontinuity from tan(x) where odd multiples of pi/2
Hi i have the function; f=tan(x) where x=linspace(-2pi,2pi,200) I was wondering if you would know how to remove...

10 years ago | 2 answers | 0

2

answers

Question


How to plot the probability density function using vectorisation.
This is the function we have been given. f(x) = 1/sqrt(2*pi*σ^2) * exp(-(x-μ)^2)/(2*σ^2) We have been told to solve for ...

10 years ago | 1 answer | 0

1

answer

Question


How to find max value of three varibles using if,else,end.
The variables are: a=20 b=10 c=30 How do i find the max without using built in functions. I believe it is ...

10 years ago | 3 answers | 0

3

answers

Question


How to calculate a max value in a array without the built in functions.
The array is Time = [1,6,3,6,8,12,1] I think you need to use a for or while loop. There is no predetermined max value howe...

10 years ago | 3 answers | 0

3

answers