What causes an "Argument to dynamic structure reference must evaluate to a valid field name" error please? code attached.

This is my code. I have matlab error saying "Argument to dynamic structure reference must evaluate to a valid field name. Can anyone see a problem please?
freq=-10:0.01:10;
FT2=(1./(2*pi*freq))*(sin.(2*pi*freq))+(1i*cos(2*pi*freq-1.));
Thank you =)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 24 Mar 2015

Commented:

on 24 Mar 2015

Community Treasure Hunt

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

Start Hunting!