Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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: *

  • Users: hesnengr
  • Content: Threads
  • Order by date
  1. hesnengr

    2D array (matrix) in Fortran-Mex file

    Hi all, I am writing a FORTRAN code for a MEX (Matlab executable) file. I am facing a problem in defining the dimensions of the matrix. Following is the code which I have created. C gateway subroutine subroutine mexfunction(nlhs, plhs, nrhs, prhs)...
  2. hesnengr

    4D Matrix

    Hi all, I am new to matlab and working to convert a matlab code into FORTRAN code. I have problem in understanding the following syntax in matlab, kn=10 i=30 su=0 lam=ones(j,kn+1,i,1) for j=1:20 su=su+lam(j,kn+1,i,1) end In the above code lam is a 4-D matrix with four columns of different...

Part and Inventory Search