[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem symbolic on windows

From: Colin Macdonald
Subject: Re: Problem symbolic on windows
Date: Thu, 6 Feb 2020 20:51:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 2020-02-06 1:54 a.m., DigitalHermit wrote:
Try something like:

ezplot(fcn(x), [0,6]);

If you have a symbolic expression, you can often use "function_handle" to convert it to Octave expression.

>> syms x
>> f = 13*x-heaviside(x-2)*15*(x-2)
>> h = function_handle(f, 'vars', x)
>> ezplot(h)

Something like that anyway, try "help @sym/function_handle" for examples and details.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]