Rank: 4208 based on 9 downloads (last 30 days) and 1 file submitted
photo

Alok D

E-mail
Company/University
BITS Pilani

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Alok
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Jan 2012 finite fourier series finite fourier series Author: Alok D fourier 9 2
  • 1.0
1.0 | 1 rating
Comments and Ratings on Alok's Files View all
Updated File Comment by Comments Rating
23 Jan 2012 finite fourier series finite fourier series Author: Alok D Acker, Heinrich

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.

22 Jan 2012 finite fourier series finite fourier series Author: Alok D Hanselman, Duane

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

Top Tags Applied by Alok
fourier
Files Tagged by Alok
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Jan 2012 finite fourier series finite fourier series Author: Alok D fourier 9 2
  • 1.0
1.0 | 1 rating

Contact us at files@mathworks.com