Community Profile

photo

Rakeshwar Elango


Last seen: 2 years ago Active since 2019

Statistics

  • Thankful Level 2
  • Explorer
  • First Review
  • Thankful Level 1

View badges

Content Feed

View by

Question


How to initialize a variable to zero in userdefined matlab function, which should be executed only once then the values should change dynamically
function [ia_avr] = fcn(ia) iasum = iasum+Ia; if xxxx ia_num=ia_num+1; ...

3 years ago | 1 answer | 0

1

answer

Question


To check Scalar or Not
I have debugged the code and now the Scalar test for this code is failing although I have given a provition in the 3rd line of t...

4 years ago | 2 answers | 1

2

answers

Question


Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
Hi Folks, I have tried and ended up in errors. For example(valid_date(2018, 4, 1) failed,The last day of every month Variable ...

5 years ago | 15 answers | 0

15

answers