Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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. Capzos

    Compare and replace elements in matrix

    it isnt a homework.. i am trying some stuff out... which i want to implement completly in matlab with as less number of loops as possible making the complete use of matlab inbuilt function.. but its so vast to read... so i am posting some of the general issues that i come trough.. help me if u...
  2. Capzos

    Compare and replace elements in matrix

    i have a matrix which has 16 columns and varying number of rows.. i need to replace the elements ranging from -50 to 50 with zero and the rest should remain the same.. i have coded for a single element search and replace which is [m, n] = size(Data); for i = 1: m for j = 1:n...
  3. Capzos

    Analyze data columnwize in Matlab

    hi, i have a page full of data extracted from sensor readings and hence the reading changes columnwise.. i wanted to know if there was any inbuilt function in matlab that helps me to analyse and relate the data columnwise.. please let me know if any more details are needed... i have not yet...
  4. Capzos

    Need some help with matlab

    hi, when i use the save option in matlab, the answers that is saved is in floating point format for e.g, 5.7600000e+002 8.7690000e+003 1.7540000e+003 6.7700000e+002.. but i want it in the normal integer format like 5760 8769 1754 677 .... the command i am using is save myData.txt myData...
  5. Capzos

    Need some help with matlab

    Dear Visigoth, thanks for the help again.. one good solution i found was using the inbuilt find function. i have done some code optimization. find can directly get the rows and columns.. so i modified it like this [ nRow, nColumn ] = size( newData ); derivatveOfData = diff( newData ) [mRow...
  6. Capzos

    Need some help with matlab

    hi visigoth, thanks for your help... here a bit more detail.... it is a data of 8 columns and 1000,s of rows.. but the columns are constant (8).. and it will be in the normal .txt format and quite huge.. sometimes the rows extending to 10000 lines...the main prob is that i have to do it using...
  7. Capzos

    Need some help with matlab

    I am having a page full of data which comes from the sensor readings...which i have to scan through my program and check to see if there are any changes.. but my initial issue is that i need to write a function in matlab which takes the file which contains the data and gives an output saying...

Part and Inventory Search