FDS

160 Reputation

3 Badges

19 years, 20 days

MaplePrimes Activity


These are replies submitted by FDS

@acer Thank you I wanted indeed a plain vector.

@tomleslie thank you so much! My mistake was that I did not add parenthesis ("(") before Data and after "BFH". Have a nice evening.

@tomleslie thank you for your help. I really appreciate your commitment to help out people having questions/issues while trying to master maple!

@vv Thank you for your solutions to my questions. However, I still have an issue with my second question. If I want to take the mean of the first column, I get Float(undefined). Could you help me out once more? Thanks in advance.
 

restart

NULL

with(LinearAlgebra); with(Statistics)

NULL

simplify((x^2-2)/(x-sqrt(2)))

(x^2-2)/(x-2^(1/2))

(1)

why is the above not simplifying to x+sqrt(2)

x+2^(1/2)

(2)

NULL

with(ExcelTools)

 

How can I replace the strings in the matrix below by something like NaN (not a number) so I can use it for further numeric calculations?

 

data := Import("C:/Users/fdesomer/Desktop/TestSpiking.xlsx")

Matrix(%id = 4417189922)

(3)

NULL

``

AA := map(proc (u) options operator, arrow; `if`(type(u, numeric), u, undefined) end proc, data)

Matrix(%id = 4417696194)

(4)

NULL

NULL

``

test := AA[() .. (), 1]

Vector[column](%id = 4422819010)

(5)

"(->)"

HFloat(HFloat(undefined))

(6)

``


 

Download Questions.mwQuestions.mw

@acer  Thank you for your solution(s). I am slowly transitioning from a software with less symbolic capabilities, and apparently I need to digest a lot more before I will be able to use Maple efficiently. 

@tomleslie thank you for your informative answer. As a newbie to Maple I still have a lot to learn.

Thank you both for your answers!

@acer

Thank you all for your additional comments and remarks as they help me in slowly ameliorating my Maple knowledge. 

Dear Acer, Thank you for your answer. I admit this is a much nicer and clearer way of doing elementwise calculus.

@tomleslie Thank you, appreciate your time

@tomleslie  Your solution works but what puzzles me is why I need to use the convert command and why I cannot just right click the result for 'test' and choose a different unit. Thank in advance for your help!

@tomleslie  Thank you!

@dharr that was the solution, thanks a lot!

@tomleslie Thank you so much for your educative help. Enjoy Holloween

@dharr  Thank you for your reply. I was able to use Bloodpath now as upper limit in my plot and in the ODE; I could solve my conversion issue by: P__b := convert(convert(P__baroCor, 'units', 'mmHg'), unit_free)

However your solution sol(Bloodpath) for getting the value at Bloodpath does not seem to work Could you help me out once more?

Thanks in advance

1 2 3 4 5 6 Page 5 of 6