MATLAB: I really need help on this problem. How to always get wrong

not enough input arguments. error in

clear all, close all, clc, format long g, format compact
D = [0:0.1:10];
y = @(x)(cos(exp.^x).^3-sqrt(x).*cos(x).^2+4.*tan(x).^2);
Y = y(D)

Best Answer

y = @(x)(cos(exp(x)).^3-sqrt(x).*cos(x).^2+4.*tan(x).^2);