Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS 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: tuli
  • Order by date
  1. tuli

    MATLAB - display date and other numbers

    like for disp([strcat(datestr(now),' -') ' ' num2str(var) ' ' num2str(cost)]) I get 25-Dec-2021 18:38:54 - 1.2 2.4 5.8 6.3 I would like the numbers to be formatted and equally spaced 25-Dec-2021 18:38:54 - 1.20 2.40 5.80 6.30 Thank you
  2. tuli

    MATLAB - display date and other numbers

    thanks that worked. Another question: is there a way to have the four numbers formatted for something like 'f5.3' for the numbers (var & cost)? Not sure where to insert 'f5.3' since these are two arrays
  3. tuli

    MATLAB - display date and other numbers

    Hello I am trying to program an optimization where I would like to print the date, time, variables values and objective functions values in one row. I have two vectors var=[1 2.7] and cost=[5.8 6.1] I would like to display something like the lines below 25-Dec-2021 17:22 - 1.0 2.7 5.8 6.1...
  4. tuli

    read list of words

    Hello, I don't think that adresses the issue. Let me try again: I have a file with strings in it. Matlab does not know they are strings. They are NOT defined as "aaa", "bbb" ... but aaa, bbb ... Matlab has to read the list in the file and assign them to an array of strings
  5. tuli

    read list of words

    Hello, I simply need to read an ascii file that consists of a number of names into an array in Matlab. say the file is: aaa bbb ccc .... I need to create an array aa in matlab where aa(1)='aaa', a2='bbb' .... and where the values ARE NOT CELLS but strings thank you
  6. tuli

    VBA - List of objects in a drawing

    Hello, I have a huge file with numerous objects I need to work on. I need to identify various bodies that I cannot see in the GUI. The screen is very busy and I need to extract some objects and delete unnecessary ones, but it is too risky to do it with the GUI. I would like to do it with a...
  7. tuli

    Create Chart with multiple collections definde by cells

    Thanks, I passed that line. Now it fails on ActiveChart.SetSourceData Source:=Range(RR(0), RR(1), RR(2)) I do not know how to proceed with the "Union" Thanks
  8. tuli

    Create Chart with multiple collections definde by cells

    well, for starters, it just fails on Range(RR(0),RR(1),RR(2),RR(3),RR(4),RR(5),RR(6),RR(7),RR(8),RR(9),RR(10),RR(11)).Select what I am trying to do is defining an ARRAY of ranges, so I can use the definitions of the series collections in a loop (using the cells method)
  9. tuli

    Create Chart with multiple collections definde by cells

    Hello, I am trying to create a chart with many plots and would like to do something similar to the code below. Sub Macro1() ' Dim R1, R2, R3, R4, R5, R6, R7 As Range Dim RR(11) As Range Sheet2.Select For i = 0 To 11 Set RR(i) = Range(Cells(9, 2 + 9 * i), Cells(209, 2 + 9 * i)) Next i '...
  10. tuli

    read an unknown number of lines into arrays

    Hello, I need to read in an unknown number of array elements. i do not know how to handle the dimension of the arrays. I start with declaring the size of each array as 101, but the file includes an unknown number of array components so I would nee to resize the array, which cannot be done in...
  11. tuli

    ACAD - VBA - Extracting 3D objects peoperties

    I might be new to this but which "Help" ? Here in the forum or in Autocad? Tx T
  12. tuli

    ACAD - VBA - Extracting 3D objects peoperties

    Hello, I have this routine (see below) which prints to a file the coordinates of polylines and lines selected from the screen. I would like to enhance this routine by allowing it to get the information from 3D objects. I was not able to find anything on the topic. Is it possible at all? To be...
  13. tuli

    Resistive Cards Modeling in CST

    Hello, I am trying to analyze in CST a waveguide assembly which includes a resistive card made of a material which has a resistivity of 150 ohm/square. The card ascts as a mode supressor. How do I define the material properties? Any suggestion would be appreciated. Thanks tuli
  14. tuli

    Resistive Cards Modeling in CST

    Hello, I am trying to analyze in CST a waveguide assembly which includes a resistive card made of a material which has a resistivity of 150 ohm/square. THe card ascts as a mode supressor. How do I define the material properties? Any suggestion would be appreciated. Thanks Kato01
  15. tuli

    Debug in Compaq Visual Fortran ver. 6.6

    Hello, (Silly question?) I am using Compaq Visual Fortran ver. 6.6. When I am in the debug mode, and the program crashes I get the assembler page with indication of the line where the program stopped. When I go to the source code, there is no indication on where the last line was executed. Also...
  16. tuli

    Satcom Workbench

    Anybody have any experience with this OSU software? Tx kato01

Part and Inventory Search