MATLAB PLOT of composed function

조회 수: 11 (최근 30일)
Matteo Pantano
Matteo Pantano 2017년 3월 8일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by