Community Profile

Contact

Top 10% contributor

I would like to permute a row vector, but without using perms(), permute() and so forth. I was wondering whether the following c...

1 Answers

0

Asked 3 years ago

I am trying to plot six concentric circles using meshgrid() and plot(). The circles' radii vary between 0.5 and 1.75 (with inter...

Using function rand, should a matrix of random integers in the interval [55..100] be generated thus: M = ceil((rand(5,5)+(11/...

Hi, I wrote the following function for solving V=L[arccos(h/r)r^2 - h(r^2-h^2)^0.5] using the bisection method. However, as ...

Hi, Is there a way to avoid using a for loop (or any loop for that matter) in the following?: h=(10^-1).^[1:8]; x=pi; ...

Hi, I was asked to plot psi_n(x) = (x-x_0)(x-x_1)...(x-x_n) for n = 3,7,10,17 evenly distributed nodes in [-5,5] with resolutio...

Hi, I wrote the following function for the interpolation polynomial of log(x): function pol = Lagrange1(x) dim1 = [1, 2...

Hi, I am asked to evaluate the following sum S=Sigma(n=0 to N) x^n/n! (namely, e^x as n->Inf) for N=10:10:100 and x=10, so th...

I would like to evaluate the following expression using functions meshgrid, sum and dot operations: y = Ʃ(n=1 to N) xn*[cos(x2 ...

Hi, I'd like to fit a Gaussian to a set of x,dx,y,dy data, but am unable to do so. Would truly appreciate some assistance. It s...

0 Answers

Asked 2 years ago

Hi, I'd sincerely appreciate it if someone were willing to review the few lines of code below and indicate why they don't quite...

Hi, I'd like to use MATLAB to determine the smallest value of n satisfying: 3^(-n) * 3^n != 1 I am advised to use min(x)/max(...

I'd like to write a function which calculates the pressure drop given by: P = (1/2)*rho*omega^2*(L/D)*lambda where rho -...

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries