dnaviaux

David Naviaux

60 Reputation

One Badge

1 years, 66 days
Micro Dynamics Engineering, Inc.
Springfield, Oregon, United States

MaplePrimes Activity


These are replies submitted by dnaviaux

@acer 

Thank you!  

@Carl Love 

Thank you for that detailed explanation of how I can use a single printf statement.  It gives me quite a bit to experiment with.  

-Dave

@tomleslie 

That works perfectly.  I have not used the seq() function before and see that I will in the future.

 

@mmcdara 

Thanks again,

David

@mmcdara 

Thank you!

I am still learning but can see that I will be using the seq() function quite a bit in the future.

Thanks again,

David

@Kitonum 

I have a vector of floating point numbers; each number corresponds to a particular quantity.  i.e. the first number is associated with a resistor tolerance, the second with an opamp chacteristic, etc.  It isn't the vector persay that I am interested in, rather it is outputting the the results of some complicated calculations that are conveniently held in a vector, something this:

example_results:=<1,2,3,4>

example_names:=<"resistor","opamp","name3","name4">

desired output:

resistor: 1

 opamp: 2

 name3: 3

 name4: 4

Thanks

@tomleslie 

What I didn't show was that the complete function required that I work with a floating point value once in the function then return the result from one of several tables with the added units if it was supplied.  

I am new to programming Maple.  What I have discovered is that there are so many ways to do the same thing, some much simplier than others.  I have been programming in C for many years and the last 10 years or so I have developed quite a bit of Matlab scripts that I am porting over to Maple.  I much more to learn...

Thank you!

David

@dharr 

Thank you!  That is exactly what I needed.

Regards,

David

1 2 3 Page 3 of 3