Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Marco83

    Numerical 4th order integration in matlab

    It sounds to me like you are making some confusion between number of variables and order of the integration. What you are looking for is not a 4th order method, but just a general method to integrate a 4 variables function. The order of an integrating scheme/method refers to the order of...
  2. Marco83

    Non linear solver

    In a time integration cycle I need to solve a non linear algebraic equation. I know that fsolve can easily do it but I have two problems with it. 1) At each time step fsolve displays (and consequently prints on the output file): Optimization terminated: first-order optimality is less than...
  3. Marco83

    Solving multiple equations using Matlab

    If you type help solve you will see that solve is a symbolic solver, therefore if the system of equations doesn't admit a solution in closed form (and it seems to be the case since you have trigonometric and power functions) matlab cannot do anything about it. If you are interested in finding...
  4. Marco83

    Cell array in FORTRAN90

    Hello, I wrote a molecular dynamics code in matlab and now I want to translate it into FORTRAN90 to speed up the computational procedure. The problem is that in my program I use a cell array. In every cell of the cell array I have a vector. The dimension of these vectors changes at every time...
  5. Marco83

    how to save a cell array

    I have a problem saving a cell array. r is a cell array organized as a column containing vectors of different length. I tried to use the command: dlmwrite('r.m',r) but Matlab says that it cannot convert it into a matrix. I understand the problem but I don't know how to solve it. Thanks
  6. Marco83

    Statistical distributions

    Anyway I think I solved the problem myself. Thanks
  7. Marco83

    Statistical distributions

    b is a scalar, therefore b.^2 is exactly the same of b^2.
  8. Marco83

    Statistical distributions

    The question is about the Rayleigh random distribution. If I use the command v=b^2*raylpdf(x,b) with x=[0:0.1:1000] and b=249 I obtain a maxwellian distribution for the velocity v. If now I want to do the same thing with the random generator raylrnd using the command v(i)=b^2*raylrnd(b) into a...

Part and Inventory Search