MATLAB PLOT of composed function

11 visualizaciones (últimos 30 días)
Matteo Pantano
Matteo Pantano el 8 de Mzo. de 2017
I am trying to plot a composed function as long I would like to design an electric cam. The code is very simple:
% Function Composition
%t = 0:0.1:3;
syms x t
g = sawtooth(t);
f = x;
a = compose(f,g)
fplot(a)
But it returns me:
>> Function_composition Error using Function_composition (line 8) Input arguments must be 'double'.
I really need to be able to do so.
Any hints?

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by