Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
30.01.2010, 01:24 GMT-5
Hi
Well the way I understand your notation is that you are in Matlab, or in an older version of COMSOL script:
The notation "a:n:b" with ":" means from "a" by step "n" to "b" (but this is a registred/patented notation of Matlab the way I understand it, and no other software or user are allowed to use this notation outside of Matlab, luckily these people have not patented the integral, or the derivative, otherwise we engineers and scientists would be rather poor and out of our jobs by now!) so this has been replaced by a function to generate the same stepwise array in COMSOL V3.5a.
Other software has different notation, such as Maple uses two dots for the continuation i.e. "a..b" is from "a" to "b" with default steps of "1", and is the same as a Matlab "a:b" with default steps of "1"
The notation [a ; n ; b] means simply a three item aray [a n b]' where [] notation is for the array or matrice, ";" (and not ":") separate columns, while spaces separate elements of a row, and finally the "'" is the transpose of the array
I hope I understood your question correctly and that this can help
Good luck (in the world "how to take a little mony from many to become rich"; even in Science we are stuck ;)
Ivar
Hi
Well the way I understand your notation is that you are in Matlab, or in an older version of COMSOL script:
The notation "a:n:b" with ":" means from "a" by step "n" to "b" (but this is a registred/patented notation of Matlab the way I understand it, and no other software or user are allowed to use this notation outside of Matlab, luckily these people have not patented the integral, or the derivative, otherwise we engineers and scientists would be rather poor and out of our jobs by now!) so this has been replaced by a function to generate the same stepwise array in COMSOL V3.5a.
Other software has different notation, such as Maple uses two dots for the continuation i.e. "a..b" is from "a" to "b" with default steps of "1", and is the same as a Matlab "a:b" with default steps of "1"
The notation [a ; n ; b] means simply a three item aray [a n b]' where [] notation is for the array or matrice, ";" (and not ":") separate columns, while spaces separate elements of a row, and finally the "'" is the transpose of the array
I hope I understood your question correctly and that this can help
Good luck (in the world "how to take a little mony from many to become rich"; even in Science we are stuck ;)
Ivar