a_simsim

65 Reputation

4 Badges

11 years, 182 days

MaplePrimes Activity


These are replies submitted by a_simsim

Sorry, I've found it:

- Simulate( returntype = datapoint , plotevents = false , ds = 1. ) 
 

RTBM :-)

 

 

@Thomas Richard 

Dear Thomas,

May I have one more question? Now the simulations runs correctly, and returned me the plots of the probe values vs. time. How could I obtain the raw, numeric data in a matrix form, so I can use them in other plot commands combined with other data? In the result matrix the 1st column should be time, 2nd, 3rd etc. columns Probe1, Probe2, etc. values.

Tx for the help in advance,

best regrads

Andras

@Thomas Richard 

Dear Thomas,

Tx very much for the help. I rechecked the video tutorial again and because of its low resoluition the minus sign seemed to me as an equal sign, and this caused the problem. Now it runs perfectly :-) 

I'm relatively new to MapleSim so there is certainly room for improvement for me.

best regards

Andras

@Joe Riel 

Thank you very much for the info.

best regards

Andras

@vv

Sorry for this silly question, and tx very much for the help. Works perfect  :-) , shame on me. 

Id did not know about \\ as a directory separator.

tx again and best regards

Andras

@Carl Love 

Dear Carl,

Works perfect :-), tx for the kind help, saved me a lot of trouble.

best regards

Andras

@tomleslie 


Sorry to be back again. This time I have problem with the vectors in the record. I tried to fill up the nind vector in the record with some integer values (actually the sequential indices of the neighboring nodes), but failed. If I retrieve values, I always get the same (and wrong vector) Correct values are indicated in the attachment. I guess once again it has something to do with pointers, but have no clue what. 

Could you pls. have a look at it?

Many tx in advance,

best regards

Andras

Why2.mw

 

@tomleslie 

Dear Tom thank you very much. I would have never find it out.

best regards

Andras

@mmcdara Unfortunately I ran into a problem. When filling up the array with records, and then assigning a value to one specific record member, I do not get back the assigned value upon retriaval. What can be the problem? The attached worksheet explains the problem much better.

Tx for the help in advance,

best regards

Andras

Why.mw

@mmcdara Thank you very much. Now I have several choices to go on.

best regards

Andras

Dear Colleagues,

 

Tx for your valuable help. Record is the winner. I can specifiy a matrix with records as matrix elements, and records are very flexible in data storing. Works perfect! :-))

Thank you very much,

best regards

Andras

@Rouben Rostamian  , @phil

Thank you very much for the kind help

regards

Andras

@DSkoog , @tomleslie, @nm

Thank you all for the kind response, I'll try your tips.

best regards

Andras

@tomleslie and DSkoog,

Tx for the kind reply. I also thought to use the DataFrame tool, but as a Maple newbie I could not decide whether this is a good idea, or not. Whether TimeSeries, DataFrames of Tables, etc. does not matter, the solution itself is the most important.

One can learn a lot from your codes,

tx once again,

best regards

Andras

@a_simsim 

I think I found the solution myself:

1. Append a new row or column,

2. Reorder rows and columns as appropriate.

:-)

1 2 3 Page 1 of 3