Quantcast
Channel: COMSOL Forums: Full width at half maximum plot
Viewing all articles
Browse latest Browse all 9

Re: Full width at half maximum plot

$
0
0
Hi

interesting question, I'm not sure if it's that easy in COMSOL, certainly possible via Matlab or Java.

Within COMSOL you have the min() & max() operators for any variable (check the doc, they accept also a second argument, you need to search a bit deeper but its descirbed in the help)

For fields: min(V,x) returns the "x" coordinate of the minimum of the V(x,y,z,t) field, this work for the space coordinates, but I have never really tried for the time coordinate "t".

Now if you have defined a varibale my_var(t) and the max(my_var,t) returns the value for t, and defined

my_var_max = max(my_var(t)),

then you can define a

my_temp_var = my_var(t)*(my_var(t)< my_var_max / 2)

and search the max below and above the t_at_my_var_max.

There must be an easier way ;) but I cannot really identify it like, that within COMSOL

--
Good luck
Ivar

Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images