Community Profile

photo

Ujjawal Barnwal


Last seen: 10 days ago
5 total contributions since 2020

Ujjawal Barnwal's Badges

  • First Answer

View details...

Contributions in
View by

Answered
text file I/O
function charnum = char_counter(fname,character) fid = fopen(fname,'rt'); charnum = 0; if fid < 0 || ~ischar(character) ...

2 months ago | 0

Answered
How to write a function to determine if a date entered is valid
function valid=valid_date(year,month,day) if ~isscalar(year) || year<1 || year~=fix(year) || ~isscalar(month) || month<1 || mon...

2 months ago | 0

Answered
How to find the position of a number in an array?
a = [7 8 8 2 5 6]; position = find(a==8)

2 months ago | 0