1.0

1.0 | 1 rating Rate this file 9 Downloads (last 30 days) File Size: 1.53 KB File ID: #34702

finite fourier series

by Alok D

 

20 Jan 2012

finite fourier series

| Watch this File

File Information
Description

finite fourier series m file

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
22 Jan 2012 Duane Hanselman

How do you get past line 3?:
clear all
j=input('Enter the value of "N": ');
if ischar(i)==1%Exception handling for char input
    fprintf('Please enter an integer value')
break;
end

23 Jan 2012 Heinrich Acker

The test

ischar(i)==1

is always false with i not defined as a variable, because it tests the type of the imaginary unit. So getting past line 3 is not the issue, although Duane certainly points to an error in the code.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
fourier Alok D 20 Jan 2012 15:12:41

Contact us at files@mathworks.com