Skip to content

max(f, g) is computing max(f, -g) #12

@cbm755

Description

@cbm755
x  = chebfun(@(x) x, [-pi, 2*pi]);  f = exp(sin(2*x))
h = max(f, 1)

looks correct like this:

Image

But:

h = max(f, 1 + 0.05*x)

looks like this:

Image

I suspect something about conjugte transposes...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions